mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-10-29 17:40:28 +00:00
fix(server): pin openapi genreator patch and regenerate api (#3573)
* fix(server): pin openapi genreator patch and regenerate api * variable
This commit is contained in:
@@ -23,8 +23,8 @@ class DownloadArchiveInfo {
|
||||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is DownloadArchiveInfo &&
|
||||
_deepEquality.equals(other.assetIds, assetIds) &&
|
||||
other.size == size;
|
||||
other.assetIds == assetIds &&
|
||||
other.size == size;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
@@ -50,8 +50,8 @@ class DownloadArchiveInfo {
|
||||
final json = value.cast<String, dynamic>();
|
||||
|
||||
return DownloadArchiveInfo(
|
||||
assetIds: json[r'assetIds'] is Iterable
|
||||
? (json[r'assetIds'] as Iterable).cast<String>().toList(growable: false)
|
||||
assetIds: json[r'assetIds'] is List
|
||||
? (json[r'assetIds'] as List).cast<String>()
|
||||
: const [],
|
||||
size: mapValueOfType<int>(json, r'size')!,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user