diff --git a/controllers/auth.go b/controllers/auth.go index 84f35e3..49ecc6b 100644 --- a/controllers/auth.go +++ b/controllers/auth.go @@ -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), }) }