Skip to content

Commit 373a676

Browse files
committed
Update the graphql opperation names so they are more easily filterable in logs
1 parent 320808b commit 373a676

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/routes/app._index.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export const action = async ({ request }: ActionFunctionArgs) => {
2929
];
3030
const response = await admin.graphql(
3131
`#graphql
32-
mutation populateProduct($input: ProductInput!) {
32+
mutation shopifyRemixTemplatePopulateProduct($input: ProductInput!) {
3333
productCreate(input: $input) {
3434
product {
3535
id
@@ -63,7 +63,7 @@ export const action = async ({ request }: ActionFunctionArgs) => {
6363
responseJson.data!.productCreate!.product!.variants.edges[0]!.node!.id!;
6464
const variantResponse = await admin.graphql(
6565
`#graphql
66-
mutation updateVariant($input: ProductVariantInput!) {
66+
mutation shopifyRemixTemplateUpdateVariant($input: ProductVariantInput!) {
6767
productVariantUpdate(input: $input) {
6868
productVariant {
6969
id

0 commit comments

Comments
 (0)