1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-01 08:31:59 +00:00

fix return update asset with new update time (#2457)

This commit is contained in:
Alex 2023-05-17 14:28:58 -05:00 committed by GitHub
parent f5b87833f8
commit 35c4887e4a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -295,7 +295,11 @@ export class AssetRepository implements IAssetRepository {
isArchived: asset.isArchived,
});
return asset;
return this.assetRepository.findOneOrFail({
where: {
id: asset.id,
},
});
}
/**