generated from nhcarrigan/template
fix: send logs too
This commit is contained in:
@ -76,6 +76,7 @@ export const instantiateServer = (): void => {
|
||||
}
|
||||
const { application, level, message } = request.body;
|
||||
await sendMail(`[${level}]: ${application}`, message);
|
||||
await sendDiscord(`[${level}]: ${application}`, message);
|
||||
await response.status(200).send({ success: true });
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user