mirror of
https://github.com/immich-app/immich.git
synced 2025-12-10 09:33:58 +09:00
chore: update api (#2428)
This commit is contained in:
@@ -61,8 +61,8 @@ class CheckExistingAssetsDto {
|
||||
}());
|
||||
|
||||
return CheckExistingAssetsDto(
|
||||
deviceAssetIds: json[r'deviceAssetIds'] is List
|
||||
? (json[r'deviceAssetIds'] as List).cast<String>()
|
||||
deviceAssetIds: json[r'deviceAssetIds'] is Iterable
|
||||
? (json[r'deviceAssetIds'] as Iterable).cast<String>().toList(growable: false)
|
||||
: const [],
|
||||
deviceId: mapValueOfType<String>(json, r'deviceId')!,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user