mirror of
https://github.com/immich-app/immich.git
synced 2025-08-30 23:02:39 -04:00
chore: patch createdAt in AssetResponseDto (#21254)
This commit is contained in:
parent
5fb8d651ec
commit
be5b4cb1d1
@ -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':
|
||||
|
Loading…
x
Reference in New Issue
Block a user