Skip to content

Commit

Permalink
chore: fixed OAS using incorrect store resource (#3138)
Browse files Browse the repository at this point in the history
  • Loading branch information
shahednasser committed Jan 30, 2023
1 parent 2551fe0 commit e3dcf4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ import { IsType } from "../../../../utils/validators/is-type"
* source: |
* import Medusa from "@medusajs/medusa-js"
* const medusa = new Medusa({ baseUrl: MEDUSA_BACKEND_URL, maxRetries: 3 })
* medusa.store.productTags.list()
* medusa.productTags.list()
* .then(({ product_tags }) => {
* console.log(product_tags.length);
* });
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ import ProductTypeService from "../../../../services/product-type"
* import Medusa from "@medusajs/medusa-js"
* const medusa = new Medusa({ baseUrl: MEDUSA_BACKEND_URL, maxRetries: 3 })
* // must be previously logged in or use api token
* medusa.store.productTypes.list()
* medusa.productTypes.list()
* .then(({ product_types }) => {
* console.log(product_types.length);
* });
Expand Down

0 comments on commit e3dcf4f

Please sign in to comment.