From 30160a93af58909e4ccc0adfc922047c76153500 Mon Sep 17 00:00:00 2001 From: Dennis Postma Date: Thu, 6 Jun 2024 19:57:26 +0200 Subject: [PATCH] Example commit --- src/app/utilities/Http.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/utilities/Http.ts b/src/app/utilities/Http.ts index b76c24e..428bdee 100644 --- a/src/app/utilities/Http.ts +++ b/src/app/utilities/Http.ts @@ -22,7 +22,7 @@ async function addAuthRoutes(app: Application) { const userService = new UserService(); const user = await userService.login(username, password); - if (user) { + if (user) { //test const token = jwt.sign({ id: user.id }, config.JWT_SECRET, { expiresIn: '1h' }); return res.status(200).json({ token }); }