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.
This commit is contained in:
parent
baecabc93a
commit
cb7a396636
@ -50,6 +50,10 @@ async function registerController(req: Request, res: Response) {
|
|||||||
logs.error(registerResult.message, req.ip);
|
logs.error(registerResult.message, req.ip);
|
||||||
return res.status(HttpStatusCode.InternalServerError).json({ error: registerResult.message });
|
return res.status(HttpStatusCode.InternalServerError).json({ error: registerResult.message });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//TODO Image handling
|
||||||
|
|
||||||
|
|
||||||
logs.info('User registered successfully', req.ip);
|
logs.info('User registered successfully', req.ip);
|
||||||
return res.status(HttpStatusCode.Created).json({
|
return res.status(HttpStatusCode.Created).json({
|
||||||
message: 'User registered successfully',
|
message: 'User registered successfully',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user