mirror of
https://github.com/immich-app/immich.git
synced 2026-03-09 03:37:22 +03:00
chore(web): generate API functions with a single argument (#2568)
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
let cnt = 0;
|
||||
for (const asset of getAssets()) {
|
||||
if (asset.isFavorite !== isFavorite) {
|
||||
api.assetApi.updateAsset(asset.id, { isFavorite });
|
||||
api.assetApi.updateAsset({ assetId: asset.id, updateAssetDto: { isFavorite } });
|
||||
onAssetFavorite(asset, isFavorite);
|
||||
cnt = cnt + 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user