Skip to content

Commit 60f81d4

Browse files
committed
tweaked metafield name
1 parent 3237128 commit 60f81d4

File tree

2 files changed

+2
-2
lines changed
  • sample-apps/discounts

2 files changed

+2
-2
lines changed

sample-apps/discounts/extensions/product-discount/input.graphql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ query Input {
1111
}
1212
}
1313
discountNode {
14-
metafield(namespace: "$app:discounts-tutorial", key: "function-configuration") {
14+
metafield(namespace: "$app:volume-discount", key: "function-configuration") {
1515
value
1616
}
1717
}

sample-apps/discounts/web/frontend/pages/volume/[functionId]/new.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import { data } from "@shopify/app-bridge/actions/Modal";
2929
import { useAuthenticatedFetch } from "../../../hooks";
3030

3131
const todaysDate = new Date();
32-
const METAFIELD_NAMESPACE = "$app:discounts-tutorial";
32+
const METAFIELD_NAMESPACE = "$app:volume-discount";
3333
const METAFIELD_CONFIGURATION_KEY = "function-configuration";
3434

3535
export default function VolumeNew() {

0 commit comments

Comments
 (0)