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

View File

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