docs/3.x/developer/extending/apps/asynchronous-webhooks #747
Replies: 1 comment
-
There's a mistake in the following code snippet - import type { Handler } from "retes";
import { Response } from "retes/response";
import { toNextHandler } from "retes/adapter";
import {
withSaleorEventMatch,
withWebhookSignatureVerified,
} from "@saleor/app-sdk/middleware";
const handler: Handler = async (request) => {
// ...
return Response.OK({ success: true });
};
export default toNextHandler([
withSaleorDomainMatch,
withWebhookSignatureVerified(),
handler,
]); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
docs/3.x/developer/extending/apps/asynchronous-webhooks
Architecture
https://docs.saleor.io/docs/3.x/developer/extending/apps/asynchronous-webhooks
Beta Was this translation helpful? Give feedback.
All reactions