Skip to content

Commit

Permalink
fix(fetch): must pass instance storeId to ecomClient request
Browse files Browse the repository at this point in the history
  • Loading branch information
leomp12 committed Jun 16, 2021
1 parent 8555657 commit 2dd9d67
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/methods/fetch.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ import dslMiddlewares from './../lib/dsl-middlewares'

export default (self, isSimpleSearch, axiosConfig) => {
// mount axios req options for complex or simpĺe search
const { storeId } = self
const reqOptions = {
url: '/items.json',
storeId,
axiosConfig
}

Expand Down

0 comments on commit 2dd9d67

Please sign in to comment.