mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-10-29 17:40:28 +00:00
fix return update asset with new update time (#2457)
This commit is contained in:
@@ -295,7 +295,11 @@ export class AssetRepository implements IAssetRepository {
|
||||
isArchived: asset.isArchived,
|
||||
});
|
||||
|
||||
return asset;
|
||||
return this.assetRepository.findOneOrFail({
|
||||
where: {
|
||||
id: asset.id,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user