fix typo in json

This commit is contained in:
rick 2022-10-29 23:00:34 +02:00
parent 55ca7a9e95
commit 87483470b9
Signed by: Rick
GPG key ID: 4A6223D66294EB20

View file

@ -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),
})
}