Skip to content

Commit

Permalink
chore: maybe suppress error?
Browse files Browse the repository at this point in the history
  • Loading branch information
kravetsone committed Oct 25, 2024
1 parent 67263bd commit 3b0fffc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/webhook/adapters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,12 @@ export interface FrameworkHandler {
}
export type FrameworkAdapter = (...args: any[]) => FrameworkHandler;

// @ts-ignore
const responseOK = new Response("ok!") as Response;

const responseUnauthorized = new Response(WRONG_TOKEN_ERROR, {
status: 401,
// @ts-ignore
}) as Response;

export const frameworks = {
Expand Down

0 comments on commit 3b0fffc

Please sign in to comment.