generated from nhcarrigan/template
chore: resolve build issues so we can deploy the prototype
Lint problems are for future us.
This commit is contained in:
@ -53,7 +53,7 @@ export const submitAppealHandler = async(
|
||||
await sendMail("appeal", data);
|
||||
await response.send({ success: true });
|
||||
} catch (error) {
|
||||
await logger.error("/submit/appeals", error);
|
||||
await logger.error("/submit/appeals", error as Error);
|
||||
await response.status(500).send({ error: error instanceof Error
|
||||
? error.message
|
||||
: "Internal Server Error" });
|
||||
|
Reference in New Issue
Block a user