added more data from return of login

pull/2/head
Nilo Roberto da Cruz Paim 2022-09-22 19:01:43 -03:00
parent 989c56bee0
commit 58dbb7ca71
2 changed files with 9 additions and 6 deletions

View File

@ -55,6 +55,9 @@ func Login(c *fiber.Ctx) error {
}
return c.JSON(fiber.Map{
"userId": user.Id,
"userType": user.UserType,
"userName": user.Name,
"token": token})
}

View File

@ -1,5 +1,5 @@
package globals
var (
API_VERSION = "1.0.12"
API_VERSION = "1.0.13"
)