mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
chore: update api (#2428)
This commit is contained in:
parent
d25ddfc46b
commit
2c7821e5e6
15 changed files with 47 additions and 47 deletions
|
|
@ -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')!,
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue