fix return update asset with new update time (#2457)

pull/2458/head
Alex 2023-05-17 14:28:58 +07:00 committed by GitHub
parent f5b87833f8
commit 35c4887e4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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,
},
});
} }
/** /**