mirror of
https://github.com/immich-app/immich
synced 2026-08-15 13:03:57 +00:00
fix: TimelineAsset visibility (#18395)
* fix: TimelineAsset visibility * fix enum values
This commit is contained in:
parent
895e0eacfe
commit
bdf19ce331
12 changed files with 27 additions and 120 deletions
|
|
@ -29,7 +29,6 @@ dynamic upgradeDto(dynamic value, String targetType) {
|
|||
case 'UserResponseDto':
|
||||
if (value is Map) {
|
||||
addDefault(value, 'profileChangedAt', DateTime.now().toIso8601String());
|
||||
addDefault(value, 'visibility', AssetVisibility.timeline);
|
||||
}
|
||||
break;
|
||||
case 'AssetResponseDto':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue