Skip to content

Commit

Permalink
fix: Search for entire string
Browse files Browse the repository at this point in the history
  • Loading branch information
ViMaSter committed Oct 5, 2024
1 parent db51049 commit 6fec45a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion host.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export const hostPage = () => {
});

app.post("/webhook", async (req, res) => {
if (req.body.includes("No player-facing changes")) {
if (JSON.stringify(req.body).includes("No player-facing changes")) {
return;
}

Expand Down

0 comments on commit 6fec45a

Please sign in to comment.