diff --git a/apis/penalty/api.go b/apis/penalty/api.go index 6616ab1..9e6da92 100644 --- a/apis/penalty/api.go +++ b/apis/penalty/api.go @@ -230,6 +230,9 @@ func BanUserForever(c *fiber.Ctx) error { return nil }) + if err != nil { + return err + } // construct message for user message := Notification{