diff --git a/server/apps/immich/src/api-v1/asset/asset-repository.ts b/server/apps/immich/src/api-v1/asset/asset-repository.ts index 0a0d9feeee..a5500a020c 100644 --- a/server/apps/immich/src/api-v1/asset/asset-repository.ts +++ b/server/apps/immich/src/api-v1/asset/asset-repository.ts @@ -295,7 +295,11 @@ export class AssetRepository implements IAssetRepository { isArchived: asset.isArchived, }); - return asset; + return this.assetRepository.findOneOrFail({ + where: { + id: asset.id, + }, + }); } /**