From cb7a3966367f3141af1398e2b6f77f3d360fb05c Mon Sep 17 00:00:00 2001 From: Mathis Date: Wed, 22 May 2024 14:22:06 +0200 Subject: [PATCH] docs(controller): add comment for future image handling A comment section has been added to the 'auth.controller.ts' file to advise the development of image handling functionality in the future. The comment is placed right after the error handling for unsuccessful user registration attempts. --- src/controllers/auth.controller.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/controllers/auth.controller.ts b/src/controllers/auth.controller.ts index 9d77d6e..f76914f 100644 --- a/src/controllers/auth.controller.ts +++ b/src/controllers/auth.controller.ts @@ -50,6 +50,10 @@ async function registerController(req: Request, res: Response) { logs.error(registerResult.message, req.ip); return res.status(HttpStatusCode.InternalServerError).json({ error: registerResult.message }); } + + //TODO Image handling + + logs.info('User registered successfully', req.ip); return res.status(HttpStatusCode.Created).json({ message: 'User registered successfully',