Skip to content

Commit

Permalink
Remove wrapper that is now not required
Browse files Browse the repository at this point in the history
  • Loading branch information
hantonelli committed Apr 19, 2019
1 parent bb02347 commit b961d34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handler/graphql.go
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ func processMultipart(w http.ResponseWriter, r *http.Request, request *params, c
}
for _, path := range paths {
upload = graphql.Upload{
File: ioutil.NopCloser(bytes.NewReader(fileContent)),
File: bytes.NewReader(fileContent),
Size: header.Size,
Filename: header.Filename,
}
Expand Down

0 comments on commit b961d34

Please sign in to comment.