Remove some forgotten debug

This commit is contained in:
Dane Everitt
2021-03-03 21:00:58 -08:00
parent 0919fb2da6
commit fb2dc39a47
2 changed files with 1 additions and 6 deletions

View File

@@ -2,7 +2,6 @@ package router
import (
"bytes"
"fmt"
"net/http"
"strings"
@@ -39,8 +38,6 @@ func postCreateServer(c *gin.Context) {
buf := bytes.Buffer{}
buf.ReadFrom(c.Request.Body)
fmt.Println(buf.String())
install, err := installer.New(c.Request.Context(), manager, buf.Bytes())
if err != nil {
if installer.IsValidationError(err) {
@@ -50,7 +47,7 @@ func postCreateServer(c *gin.Context) {
return
}
// middleware.CaptureAndAbort(c, err)
middleware.CaptureAndAbort(c, err)
return
}