fix: Add missing closing brace and fix indentation in server.ts

main
borja (aider) 3 months ago
parent ca03135aea
commit f63852b23f

@ -71,12 +71,13 @@ export class WebhookServer {
} }
static start() { static start() {
if (process.env.NODE_ENV !== 'test') { if (process.env.NODE_ENV !== 'test') {
const server = Bun.serve({ const server = Bun.serve({
port: PORT, port: PORT,
fetch: WebhookServer.handleRequest, fetch: WebhookServer.handleRequest,
}); });
console.log(`Server running on port ${PORT}`); console.log(`Server running on port ${PORT}`);
return server; return server;
}
} }
} } // <-- This closing brace was missing

Loading…
Cancel
Save