fix: TimelineAsset visibility (#18395)

* fix: TimelineAsset visibility

* fix enum values
This commit is contained in:
Alex 2025-05-20 10:53:34 -05:00 committed by GitHub
parent 895e0eacfe
commit bdf19ce331
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 27 additions and 120 deletions

View file

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