Skip to content

Commit

Permalink
Update Shopify API version
Browse files Browse the repository at this point in the history
  • Loading branch information
andershagbard authored Jul 17, 2024
1 parent 62dd761 commit c93fc18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/helpers/themekit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ export const isThemeKitToken = (token: string): boolean =>
token.startsWith('shptka_');

export const themeKitBaseURL = () =>
'https://theme-kit-access.shopifyapps.com/cli/admin/api/2022-04/';
'https://theme-kit-access.shopifyapps.com/cli/admin/api/2024-07/';

export const shopifyBaseURL = (store: string) =>
`https://${store}/admin/api/2022-04/`;
`https://${store}/admin/api/2024-07/`;

export const deployTheme = async (themeID: number) => {
try {
Expand Down

0 comments on commit c93fc18

Please sign in to comment.