generated from nhcarrigan/template
feat: resolve lint/build/test errors
Some checks failed
Node.js CI / Lint and Test (pull_request) Failing after 1m27s
Some checks failed
Node.js CI / Lint and Test (pull_request) Failing after 1m27s
This commit is contained in:
@ -53,6 +53,7 @@ export const submitAppealHandler = async(
|
||||
await sendMail("appeal", data);
|
||||
await response.send({ success: true });
|
||||
} catch (error) {
|
||||
// eslint-disable-next-line @typescript-eslint/consistent-type-assertions -- we bein' lazy.
|
||||
await logger.error("/submit/appeals", error as Error);
|
||||
await response.status(500).send({ error: error instanceof Error
|
||||
? error.message
|
||||
|
Reference in New Issue
Block a user