Skip to content

Commit 01d05ef

Browse files
fix: isolate MLI header to prevent unintended propagation (#33)
1 parent 36adb1c commit 01d05ef

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/endpoints/multi-location-inventories.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ class MultiLocationInventories {
66
constructor(endpoint) {
77
const config = { ...endpoint }
88

9-
config.headers['ep-inventories-multi-location'] = true
9+
config.headers = {
10+
...config.headers,
11+
'ep-inventories-multi-location': true
12+
}
1013

1114
this.request = new RequestFactory(config)
1215

0 commit comments

Comments
 (0)