mirror of
https://github.com/immich-app/immich.git
synced 2026-03-08 11:07:25 +03:00
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