handle more interactions like uploading and single asset links

This commit is contained in:
bwees 2025-08-01 08:21:35 -05:00
parent c8c6f86518
commit cc9ec29c83
No known key found for this signature in database
10 changed files with 335 additions and 181 deletions

View file

@ -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);
}