mirror of
https://github.com/immich-app/immich.git
synced 2025-11-24 17:30:43 +09:00
chore(web): generate API functions with a single argument (#2568)
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
assetId = link.assets[0].id;
|
||||
}
|
||||
|
||||
const { data } = await api.assetApi.getAssetById(assetId);
|
||||
const { data } = await api.assetApi.getAssetById({ assetId });
|
||||
|
||||
return data;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user