diff --git a/src/api/routes/Webhook.ts b/src/api/routes/Webhook.ts index 8d91671..213cc97 100644 --- a/src/api/routes/Webhook.ts +++ b/src/api/routes/Webhook.ts @@ -8,7 +8,7 @@ export default class Webhook extends Route { } public bind() { - this.router.get('/s1', async (req, res) => { + this.router.post('/s1', async (req, res) => { try { if (req.headers.authorization !== this.server.security.keys.iv.toString('base64')) return res.status(401).json({ code: this.constants.codes.UNAUTHORIZED, message: this.constants.codes.UNAUTHORIZED }); const embed = new RichEmbed();