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:
@ -47,6 +47,7 @@ export const reviewHandler = async(
|
||||
await markSubmissionReviewed(database, route, submissionId);
|
||||
await response.code(200).send({ success: true });
|
||||
} catch (error) {
|
||||
// eslint-disable-next-line @typescript-eslint/consistent-type-assertions -- we bein' lazy.
|
||||
await logger.error(`/review/${route}`, error as Error);
|
||||
await response.status(500).send({ error: error instanceof Error
|
||||
? error.message
|
||||
|
Reference in New Issue
Block a user