fix: broken start/end dates on album update (#17467)

This commit is contained in:
Daniel Dietzler 2025-04-08 17:47:44 +02:00 committed by GitHub
parent 2c31a11e41
commit 15c6506aee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -140,7 +140,7 @@ export class AlbumService extends BaseService {
order: dto.order,
});
return mapAlbumWithoutAssets(updatedAlbum);
return mapAlbumWithoutAssets({ ...updatedAlbum, assets: album.assets });
}
async delete(auth: AuthDto, id: string): Promise<void> {