mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
chore: patch createdAt in AssetResponseDto (#21254)
This commit is contained in:
parent
5fb8d651ec
commit
be5b4cb1d1
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue