High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
chore: patch createdAt in AssetResponseDto (#21254)
Alexbe5b4cb1d1e1
diff --git a/mobile/lib/utils/openapi_patching.dart b/mobile/lib/utils/openapi_patching.dartindex 3e45390198..33199d5225 100644--- a/mobile/lib/utils/openapi_patching.dart+++ b/mobile/lib/utils/openapi_patching.dart@@ -28,6 +28,7 @@ dynamic upgradeDto(dynamic value, String targetType) {case 'AssetResponseDto':if (value is Map) {addDefault(value, 'visibility', 'timeline');+ addDefault(value, 'createdAt', DateTime.now().toIso8601String());}break;case 'UserAdminResponseDto':