fix typo in json
This commit is contained in:
parent
55ca7a9e95
commit
87483470b9
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ func Auth(c *fiber.Ctx) error {
|
|||
c.Cookie(cookie)
|
||||
} else {
|
||||
return c.Status(fiber.StatusInternalServerError).JSON(fiber.Map{
|
||||
"ierror": fmt.Sprint(err),
|
||||
"error": fmt.Sprint(err),
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue