From 97d6b8b1bb574ecfb7bfa92f97fed433b7f719fb Mon Sep 17 00:00:00 2001 From: Matthew R Date: Fri, 24 Jul 2020 22:57:30 -0400 Subject: [PATCH] changes to webhook api --- src/api/routes/Webhook.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/routes/Webhook.ts b/src/api/routes/Webhook.ts index 90b540b..131283f 100644 --- a/src/api/routes/Webhook.ts +++ b/src/api/routes/Webhook.ts @@ -13,7 +13,7 @@ export default class Webhook extends Route { 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(); embed.setTitle('Service Request'); - embed.setDescription(req.body.url); + embed.setDescription(`https://staff.libraryofcode.org/browse/${req.body.key}\n${req.body.url}`); embed.setColor('#FF00FF'); embed.addField('Ticket Number', req.body.key, true); embed.addField('Reporter', req.body.reporter, true);