mirror of
https://github.com/immich-app/immich.git
synced 2025-06-04 06:06:54 -04: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,
|
isArchived: asset.isArchived,
|
||||||
});
|
});
|
||||||
|
|
||||||
return asset;
|
return this.assetRepository.findOneOrFail({
|
||||||
|
where: {
|
||||||
|
id: asset.id,
|
||||||
|
},
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user