diff --git a/cmd/server.go b/cmd/server.go index 5a75c0d..ac210fd 100644 --- a/cmd/server.go +++ b/cmd/server.go @@ -310,7 +310,6 @@ func handleV1DocumentCreate(c echo.Context) error { documents_secret_access_key := viper.GetString("server.documents.secret_access_key") documents_use_ssl := viper.GetBool("server.documents.use_ssl") - //bucket := c.FormValue("bucket") bucket := c.Param("bucket") form_file, err := c.FormFile("file") @@ -343,9 +342,6 @@ func handleV1DocumentCreate(c echo.Context) error { ContentType: form_file.Header.Get("Content-Type"), }) if err != nil { - //TODO - log.Println(err) - return c.JSON(http.StatusInternalServerError, map[string]string{ "message": "Error during minio#PutObject", })