Skip to content

Commit 2dd9d67

Browse files
committed
fix(fetch): must pass instance storeId to ecomClient request
confere-stores@61cb953 @joaovescudero
1 parent 8555657 commit 2dd9d67

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/methods/fetch.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@ import dslMiddlewares from './../lib/dsl-middlewares'
44

55
export default (self, isSimpleSearch, axiosConfig) => {
66
// mount axios req options for complex or simpĺe search
7+
const { storeId } = self
78
const reqOptions = {
89
url: '/items.json',
10+
storeId,
911
axiosConfig
1012
}
1113

0 commit comments

Comments
 (0)