mirror of
https://github.com/immich-app/immich.git
synced 2025-11-03 02:57:10 -05: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':
|
case 'AssetResponseDto':
|
||||||
if (value is Map) {
|
if (value is Map) {
|
||||||
addDefault(value, 'visibility', 'timeline');
|
addDefault(value, 'visibility', 'timeline');
|
||||||
|
addDefault(value, 'createdAt', DateTime.now().toIso8601String());
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'UserAdminResponseDto':
|
case 'UserAdminResponseDto':
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user