chore(web): generate API functions with a single argument (#2568)
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
|
||||
for (const asset of getAssets()) {
|
||||
if (asset.isArchived !== isArchived) {
|
||||
api.assetApi.updateAsset(asset.id, { isArchived });
|
||||
api.assetApi.updateAsset({ assetId: asset.id, updateAssetDto: { isArchived } });
|
||||
|
||||
onAssetArchive(asset, isArchived);
|
||||
cnt = cnt + 1;
|
||||
|
||||
Reference in New Issue
Block a user