From 2298cbeeee52064c7ad50dead86380e1937f5cb2 Mon Sep 17 00:00:00 2001 From: Arya Kiran Date: Wed, 22 May 2024 11:16:10 +0530 Subject: [PATCH] dont give error to the user if internal notif fails --- pages/signup.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/signup.go b/pages/signup.go index 0f3f26a..1da9f5e 100644 --- a/pages/signup.go +++ b/pages/signup.go @@ -154,7 +154,7 @@ func SignupPage(c *fiber.Ctx) error { ) if err != nil { log.Error("Error sending notification to admins", err) - return c.SendStatus(fiber.StatusInternalServerError) + //return c.SendStatus(fiber.StatusInternalServerError) } return c.JSON(fiber.Map{ "username": username,