Skip to content

Commit

Permalink
fix: isolate MLI header to prevent unintended propagation (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
rostyk-kanafotskyy authored Oct 18, 2024
1 parent 36adb1c commit 01d05ef
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/endpoints/multi-location-inventories.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ class MultiLocationInventories {
constructor(endpoint) {
const config = { ...endpoint }

config.headers['ep-inventories-multi-location'] = true
config.headers = {
...config.headers,
'ep-inventories-multi-location': true
}

this.request = new RequestFactory(config)

Expand Down

0 comments on commit 01d05ef

Please sign in to comment.