Skip to content

Commit

Permalink
Convert template to Javascript (#889)
Browse files Browse the repository at this point in the history
* Update rest resource version to 2024-10 (#888)

* update rest resources version

* changelog

* webhook api version to 2024-10

* Convert template to Javascript

---------

Co-authored-by: Andy Liu <[email protected]>
Co-authored-by: GitHub <[email protected]>
  • Loading branch information
3 people authored Nov 26, 2024
1 parent 8bbcff6 commit c1a8e7e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# @shopify/shopify-app-template-remix

## 2024.11.26

- [888](https://github.com/Shopify/shopify-app-template-remix/pull/888) Update restResources version to 2024-10

## 2024.11.06

- [881](https://github.com/Shopify/shopify-app-template-remix/pull/881) Update to the productCreate mutation to use the new ProductCreateInput type
Expand Down
2 changes: 1 addition & 1 deletion app/shopify.server.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
shopifyApp,
} from "@shopify/shopify-app-remix/server";
import { PrismaSessionStorage } from "@shopify/shopify-app-session-storage-prisma";
import { restResources } from "@shopify/shopify-api/rest/admin/2024-07";
import { restResources } from "@shopify/shopify-api/rest/admin/2024-10";
import prisma from "./db.server";

const shopify = shopifyApp({
Expand Down
2 changes: 1 addition & 1 deletion shopify.app.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
scopes = "write_products"

[webhooks]
api_version = "2024-07"
api_version = "2024-10"

# Handled by: /app/routes/webhooks.app.uninstalled.tsx
[[webhooks.subscriptions]]
Expand Down

0 comments on commit c1a8e7e

Please sign in to comment.