Skip to content

Commit

Permalink
fix: return full raw payload
Browse files Browse the repository at this point in the history
  • Loading branch information
shayypy committed May 28, 2024
1 parent 73647c6 commit 9748e5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ router
return json({});
}

return json({ embeds: payload.embeds ?? [] });
return json(payload);
})
.post("/webhooks/:id/:token", async (request) => {
const { id, token } = request.params;
Expand Down

0 comments on commit 9748e5d

Please sign in to comment.