Skip to content

Commit

Permalink
Merge pull request #22 from BKWLD/shopify-api-update/2023-10
Browse files Browse the repository at this point in the history
Update the Shopify API version to 2023-10
  • Loading branch information
weotch authored Oct 11, 2023
2 parents 22ad2b3 + 1d31258 commit debf5b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ export default class ShopifyGtmInstrumentor
# Query Storefront API
queryStorefrontApi: (payload) ->
response = await axios
url: "#{@storeUrl}/api/2023-04/graphql"
url: "#{@storeUrl}/api/2023-10/graphql"
method: 'post'
headers:
'Accept': 'application/json'
Expand Down
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,7 @@ var _default = ShopifyGtmInstrumentor = /*#__PURE__*/function () {
case 0:
_context12.next = 2;
return (0, _axios["default"])({
url: "".concat(this.storeUrl, "/api/2023-04/graphql"),
url: "".concat(this.storeUrl, "/api/2023-10/graphql"),
method: 'post',
headers: {
'Accept': 'application/json',
Expand Down Expand Up @@ -1055,4 +1055,4 @@ whenFirstInViewport = function whenFirstInViewport(el, callback) {
return callback();
});
return observer.observe(el);
};
};

0 comments on commit debf5b8

Please sign in to comment.