From 7f01f1c2ee8e27d83ae8c6ab2fd54765beeb3b9a Mon Sep 17 00:00:00 2001 From: William Oldham Date: Wed, 16 Oct 2024 14:40:26 +0100 Subject: [PATCH] Fix missing semicolon --- src/services/api/routes/v1/register.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/api/routes/v1/register.ts b/src/services/api/routes/v1/register.ts index 728b8f8..3bf0cad 100644 --- a/src/services/api/routes/v1/register.ts +++ b/src/services/api/routes/v1/register.ts @@ -347,7 +347,7 @@ router.post('/', async (request: express.Request, response: express.Response): P await session.commitTransaction(); } catch (error: any) { LOG_ERROR('[POST] /v1/register: ' + error); - if (error.stack) console.error(error.stack) + if (error.stack) console.error(error.stack); await session.abortTransaction();