Skip to content

Commit

Permalink
fix: models pack for customer
Browse files Browse the repository at this point in the history
  • Loading branch information
mvayngrib committed Nov 25, 2017
1 parent 1ac7510 commit c8a824f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/samplebot/strategy/products.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/samplebot/strategy/products.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export default function createProductsBot (opts={}) {
const employeeModels = omit(productsAPI.models.all, BASE_MODELS_IDS)
const customerModels = omit(
productsAPI.models.all,
Object.keys(productsAPI.models.private)
Object.keys(productsAPI.models.private.all)
.concat(BASE_MODELS_IDS)
)

Expand Down

0 comments on commit c8a824f

Please sign in to comment.