fix(medusa-js): remove unnecessary query field in AdminInventoryItemsResource.deleteLocationLevel method (#5941)

## What

The underlying endpoint `/admin/inventory-items/{id}/location-levels/{location_id}` that the JS Client's `AdminInventoryItemsResource.deleteLocationLevel` method sends a request to doesn't accept query parameters. So, the `query` argument of the `deleteLocationLevel` is unnecessary.

Fixes CORE-1550
This commit is contained in:
Shahed Nasser
2023-12-21 16:38:53 +02:00
committed by GitHub
parent 8402f46970
commit bfd10dadaf
2 changed files with 6 additions and 8 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"@medusajs/medusa-js": patch
---
fix(medusa-js): remove unnecessary `query` field in `AdminInventoryItemsResource.deleteLocationLevel` method