diff --git a/app/http/endpoints/api/panel/panelcreate.go b/app/http/endpoints/api/panel/panelcreate.go index ec4c4a6..e753d62 100644 --- a/app/http/endpoints/api/panel/panelcreate.go +++ b/app/http/endpoints/api/panel/panelcreate.go @@ -65,7 +65,6 @@ func CreatePanel(ctx *gin.Context) { } if !data.doValidations(ctx, guildId) { - ctx.JSON(400, utils.ErrorToResponse(errors.New("Validation failed"))) return } diff --git a/app/http/endpoints/api/panel/panelupdate.go b/app/http/endpoints/api/panel/panelupdate.go index 3e820bb..593a4e9 100644 --- a/app/http/endpoints/api/panel/panelupdate.go +++ b/app/http/endpoints/api/panel/panelupdate.go @@ -58,7 +58,6 @@ func UpdatePanel(ctx *gin.Context) { } if !data.doValidations(ctx, guildId) { - ctx.JSON(400, utils.ErrorToResponse(errors.New("Validation failed"))) return }