dont give error to the user if internal notif fails

This commit is contained in:
Arya 2024-05-22 11:16:10 +05:30
parent 2a84bcce21
commit 2298cbeeee
Signed by: arya
GPG Key ID: 842D12BDA50DF120

View File

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