Skip to content

Commit

Permalink
response instance?
Browse files Browse the repository at this point in the history
Signed-off-by: CyberFlame <[email protected]>
  • Loading branch information
CyberFlameGO authored Oct 27, 2024
1 parent f649b88 commit 7c4742e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ router.post('/webhooks', async (c) => {

switch (interaction["type"]) {
case "PING": {
return Response(status=204)
return new Response({status: 204})
}
}
});
Expand Down

0 comments on commit 7c4742e

Please sign in to comment.