mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-10-29 17:40:28 +00:00
chore(server): update openapi (#2205)
This commit is contained in:
2
mobile/openapi/lib/model/thumbnail_format.dart
generated
2
mobile/openapi/lib/model/thumbnail_format.dart
generated
@@ -67,7 +67,7 @@ class ThumbnailFormatTypeTransformer {
|
||||
/// and users are still using an old app with the old code.
|
||||
ThumbnailFormat? decode(dynamic data, {bool allowNull = true}) {
|
||||
if (data != null) {
|
||||
switch (data.toString()) {
|
||||
switch (data) {
|
||||
case r'JPEG': return ThumbnailFormat.JPEG;
|
||||
case r'WEBP': return ThumbnailFormat.WEBP;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user