mirror of
https://github.com/immich-app/immich.git
synced 2024-12-25 10:43:13 +02:00
fix return update asset with new update time (#2457)
This commit is contained in:
parent
f5b87833f8
commit
35c4887e4a
@ -295,7 +295,11 @@ export class AssetRepository implements IAssetRepository {
|
||||
isArchived: asset.isArchived,
|
||||
});
|
||||
|
||||
return asset;
|
||||
return this.assetRepository.findOneOrFail({
|
||||
where: {
|
||||
id: asset.id,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user