Fix upload de documents depuis DocumentCreate
This commit is contained in:
parent
07005c8753
commit
cc4ab5851d
2 changed files with 39 additions and 34 deletions
|
@ -386,7 +386,7 @@ func handleV1DocumentCreate(c echo.Context) error {
|
|||
|
||||
bucket := c.Param("bucket")
|
||||
|
||||
form_file, err := c.FormFile("file")
|
||||
form_file, err := c.FormFile("document")
|
||||
if err != nil {
|
||||
log.Println(err)
|
||||
return c.JSON(http.StatusBadRequest, map[string]interface{}{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue