Skip to content

Commit

Permalink
jwtVerifier: Remove unreachable code (#4734)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobbe authored Mar 13, 2022
1 parent 49efadf commit 68a218d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/api/src/auth/verifiers/jwtVerifier.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,7 @@ export const verifySignature = ({
}

return true

throw new WebhookVerificationError()
} catch (error) {
} catch {
throw new WebhookVerificationError()
}
}
Expand Down

0 comments on commit 68a218d

Please sign in to comment.