chore: patch createdAt in AssetResponseDto (#21254)

This commit is contained in:
Alex 2025-08-25 11:33:21 -05:00 committed by GitHub
parent 5fb8d651ec
commit be5b4cb1d1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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':