mirror of
https://github.com/immich-app/immich.git
synced 2025-11-27 07:10:00 +09:00
chore(web): generate API functions with a single argument (#2568)
This commit is contained in:
@@ -40,12 +40,12 @@
|
||||
|
||||
const assetIds = results.filter((id) => !!id) as string[];
|
||||
|
||||
await api.assetApi.addAssetsToSharedLink(
|
||||
{
|
||||
await api.assetApi.addAssetsToSharedLink({
|
||||
addAssetsDto: {
|
||||
assetIds
|
||||
},
|
||||
sharedLink?.key
|
||||
);
|
||||
key: sharedLink?.key
|
||||
});
|
||||
|
||||
notificationController.show({
|
||||
message: `Successfully add ${assetIds.length} to the shared link`,
|
||||
|
||||
Reference in New Issue
Block a user