chore: update api ()

This commit is contained in:
Alex 2023-05-11 10:49:28 -05:00 committed by GitHub
commit 2c7821e5e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 47 additions and 47 deletions
mobile/openapi/lib/model

View file

@ -103,8 +103,8 @@ class UpdateAssetDto {
}());
return UpdateAssetDto(
tagIds: json[r'tagIds'] is List
? (json[r'tagIds'] as List).cast<String>()
tagIds: json[r'tagIds'] is Iterable
? (json[r'tagIds'] as Iterable).cast<String>().toList(growable: false)
: const [],
isFavorite: mapValueOfType<bool>(json, r'isFavorite'),
isArchived: mapValueOfType<bool>(json, r'isArchived'),