summary refs log tree commit diff
path: root/src/api/routes/auth/logout.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/routes/auth/logout.ts')
-rw-r--r--src/api/routes/auth/logout.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/api/routes/auth/logout.ts b/src/api/routes/auth/logout.ts
index e806fed9..e1bdbea3 100644
--- a/src/api/routes/auth/logout.ts
+++ b/src/api/routes/auth/logout.ts
@@ -10,7 +10,8 @@ router.post("/", route({}), async (req: Request, res: Response) => {
 	} else {
 		delete req.body.provider;
 		delete req.body.voip_provider;
-		if (Object.keys(req.body).length != 0) console.log(`[LOGOUT]: Extra fields sent in logout!`, req.body);
+		if (Object.keys(req.body).length != 0)
+			console.log(`[LOGOUT]: Extra fields sent in logout!`, req.body);
 	}
 	res.status(204).send();
-});
\ No newline at end of file
+});