mirror of
https://github.com/samsonjs/immich.git
synced 2026-04-27 15:07:45 +00:00
fix return update asset with new update time (#2457)
This commit is contained in:
parent
f5b87833f8
commit
35c4887e4a
1 changed files with 5 additions and 1 deletions
|
|
@ -295,7 +295,11 @@ export class AssetRepository implements IAssetRepository {
|
||||||
isArchived: asset.isArchived,
|
isArchived: asset.isArchived,
|
||||||
});
|
});
|
||||||
|
|
||||||
return asset;
|
return this.assetRepository.findOneOrFail({
|
||||||
|
where: {
|
||||||
|
id: asset.id,
|
||||||
|
},
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue