High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
chore: patch MemoriesResponse (#23764)
shenlongda5a72f6de89
diff --git a/mobile/lib/utils/openapi_patching.dart b/mobile/lib/utils/openapi_patching.dartindex 0a3fa7e91d..0c1f03086f 100644--- a/mobile/lib/utils/openapi_patching.dart+++ b/mobile/lib/utils/openapi_patching.dart@@ -51,6 +51,11 @@ dynamic upgradeDto(dynamic value, String targetType) {addDefault(value, 'ocr', false);}break;+ case 'MemoriesResponse':+ if (value is Map) {+ addDefault(value, 'duration', 5);+ }+ break;}}