Task Attachments #104

Merged
konrad merged 63 commits from feature/attachments into master 2019-10-16 20:52:31 +00:00
1 changed files with 2 additions and 1 deletions
Showing only changes of commit 6ab5e3baa0 - Show all commits

View File

@ -50,7 +50,8 @@ func UploadTaskAttachment(c echo.Context) error {
return handler.HandleHTTPError(err, c)
}
fileHeaders := form.File["fileHeaders"]
// TODO: document that parameter
fileHeaders := form.File["files"]
for _, file := range fileHeaders {
// We create a new attachment object here to have a clean start
ta := models.TaskAttachment{