diff --git a/app/routes/webhooks.customers.data_request.jsx b/app/routes/webhooks.customers.data_request.jsx deleted file mode 100644 index afe9df52..00000000 --- a/app/routes/webhooks.customers.data_request.jsx +++ /dev/null @@ -1,12 +0,0 @@ -import { authenticate } from "../shopify.server"; - -export const action = async ({ request }) => { - const { shop, payload, topic } = await authenticate.webhook(request); - - // Implement handling of mandatory compliance topics - // See: https://shopify.dev/docs/apps/build/privacy-law-compliance - console.log(`Received ${topic} webhook for ${shop}`); - console.log(JSON.stringify(payload, null, 2)); - - return new Response(); -}; diff --git a/app/routes/webhooks.customers.redact.jsx b/app/routes/webhooks.customers.redact.jsx deleted file mode 100644 index afe9df52..00000000 --- a/app/routes/webhooks.customers.redact.jsx +++ /dev/null @@ -1,12 +0,0 @@ -import { authenticate } from "../shopify.server"; - -export const action = async ({ request }) => { - const { shop, payload, topic } = await authenticate.webhook(request); - - // Implement handling of mandatory compliance topics - // See: https://shopify.dev/docs/apps/build/privacy-law-compliance - console.log(`Received ${topic} webhook for ${shop}`); - console.log(JSON.stringify(payload, null, 2)); - - return new Response(); -}; diff --git a/app/routes/webhooks.shop.redact.jsx b/app/routes/webhooks.shop.redact.jsx deleted file mode 100644 index afe9df52..00000000 --- a/app/routes/webhooks.shop.redact.jsx +++ /dev/null @@ -1,12 +0,0 @@ -import { authenticate } from "../shopify.server"; - -export const action = async ({ request }) => { - const { shop, payload, topic } = await authenticate.webhook(request); - - // Implement handling of mandatory compliance topics - // See: https://shopify.dev/docs/apps/build/privacy-law-compliance - console.log(`Received ${topic} webhook for ${shop}`); - console.log(JSON.stringify(payload, null, 2)); - - return new Response(); -};