mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-10-29 17:40:28 +00:00
chore: update api (#2428)
This commit is contained in:
@@ -135,8 +135,8 @@ class CreateAssetsShareLinkDto {
|
||||
}());
|
||||
|
||||
return CreateAssetsShareLinkDto(
|
||||
assetIds: json[r'assetIds'] is List
|
||||
? (json[r'assetIds'] as List).cast<String>()
|
||||
assetIds: json[r'assetIds'] is Iterable
|
||||
? (json[r'assetIds'] as Iterable).cast<String>().toList(growable: false)
|
||||
: const [],
|
||||
expiresAt: mapValueOfType<String>(json, r'expiresAt'),
|
||||
allowUpload: mapValueOfType<bool>(json, r'allowUpload'),
|
||||
|
||||
Reference in New Issue
Block a user