forked from ProjectSegfault/publapi
dont give error to the user if internal notif fails
This commit is contained in:
parent
2a84bcce21
commit
2298cbeeee
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user