mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-18 11:49:19 +00:00
enabled socket io in settings controller
This commit is contained in:
@@ -8,7 +8,9 @@ export const store = async (req: Request, res: Response): Promise<Response> => {
|
||||
const { token, user } = await AuthUserService({ email, password });
|
||||
|
||||
return res.status(200).json({
|
||||
user,
|
||||
token
|
||||
token,
|
||||
username: user.name,
|
||||
profile: user.profile,
|
||||
userId: user.id
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user