Skip to content

Commit b2ac380

Browse files
committed
fix: TS quickstart - call next() if no secret is set
1 parent 1befb8c commit b2ac380

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

typescript/inbound/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ const app: Application = express();
1818
const verify = async (req: Request, res: Response, next: NextFunction) => {
1919
if(!HOOKDECK_WEBHOOK_SECRET) {
2020
console.warn("No HOOKDECK_WEBHOOK_SECRET found in environment variables. Skipping verification.")
21+
next();
2122
return;
2223
}
2324

0 commit comments

Comments
 (0)