From be5b4cb1d1e129f305a6cb8ff086ef2130f5041b Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 25 Aug 2025 11:33:21 -0500 Subject: [PATCH] chore: patch createdAt in AssetResponseDto (#21254) --- mobile/lib/utils/openapi_patching.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/mobile/lib/utils/openapi_patching.dart b/mobile/lib/utils/openapi_patching.dart index 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':