From 87483470b924c04ab94da45ab04de9bbda15dcd5 Mon Sep 17 00:00:00 2001 From: rick Date: Sat, 29 Oct 2022 23:00:34 +0200 Subject: [PATCH] fix typo in json --- controllers/auth.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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), }) }