Skip to content

Commit

Permalink
mend
Browse files Browse the repository at this point in the history
  • Loading branch information
MugemaneBertin2001 committed Apr 30, 2024
1 parent 6103a67 commit de3b324
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/controllers/userControllers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,7 @@ export const handleSuccess = async (req: Request, res: Response) => {

return res.status(200).json({
token: token,
message: 'success',
data: foundUser,
message: 'success'
});
} catch (error: any) {
return res.status(500).json({
Expand Down

0 comments on commit de3b324

Please sign in to comment.