Skip to content
This repository was archived by the owner on May 28, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- add es7 support for map url module and fixed default index for es config - @gibkigonzo
- Add correct paths for production build - @cewald (#407)
- Fix MSI default stock id value

## [1.11.0] - 2019.12.20

Expand Down
2 changes: 1 addition & 1 deletion src/api/stock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default ({ config, db }) => {

const _getStockId = (storeCode) => {
let storeView = config.storeViews[storeCode]
return storeView ? storeView.msi.stockId : config.defaultStockId
return storeView ? storeView.msi.stockId : config.msi.defaultStockId
};

/**
Expand Down