mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-10-29 17:40:28 +00:00
chore(web): generate API functions with a single argument (#2568)
This commit is contained in:
@@ -20,7 +20,9 @@
|
||||
let count = 0;
|
||||
|
||||
const { data: deletedAssets } = await api.assetApi.deleteAsset({
|
||||
ids: Array.from(getAssets()).map((a) => a.id)
|
||||
deleteAssetDto: {
|
||||
ids: Array.from(getAssets()).map((a) => a.id)
|
||||
}
|
||||
});
|
||||
|
||||
for (const asset of deletedAssets) {
|
||||
|
||||
Reference in New Issue
Block a user