Skip to content

Commit

Permalink
Export missing functions, fix errors when handling Web api webhooks
Browse files Browse the repository at this point in the history
  • Loading branch information
witoszekdev committed Jan 3, 2025
1 parent 9e5c059 commit 98ace22
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions src/handlers/fetch-api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@ export * from "./create-app-register-handler";
export * from "./create-manifest-handler";
export * from "./create-protected-handler";
export * from "./process-protected-handler";
// export * from "./saleor-webhooks/saleor-async-webhook";
// export * from "./saleor-webhooks/saleor-sync-webhook";
// export * from "./saleor-webhooks/sync-webhook-response-builder";
export * from "./saleor-webhooks/saleor-async-webhook";
export * from "./saleor-webhooks/saleor-sync-webhook";
2 changes: 1 addition & 1 deletion src/handlers/fetch-api/saleor-webhooks/saleor-webhook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export abstract class SaleorWebApiWebhook<
return async (req) => {
debug(`Handler for webhook ${this.name} called`);

await processSaleorWebhook<TPayload>({
return processSaleorWebhook<TPayload>({
req,
apl: this.apl,
allowedEvent: this.event,
Expand Down

0 comments on commit 98ace22

Please sign in to comment.