mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
handle more interactions like uploading and single asset links
This commit is contained in:
parent
c8c6f86518
commit
cc9ec29c83
10 changed files with 335 additions and 181 deletions
|
|
@ -112,8 +112,8 @@ class SharedLinkService {
|
|||
return null;
|
||||
}
|
||||
|
||||
Future<SharedLink?> getMySharedLink() async {
|
||||
final responseDto = await _apiService.sharedLinksApi.getMySharedLink();
|
||||
Future<SharedLink?> getMySharedLink({String? password}) async {
|
||||
final responseDto = await _apiService.sharedLinksApi.getMySharedLink(password: password);
|
||||
if (responseDto != null) {
|
||||
return SharedLink.fromDto(responseDto);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue