Skip to content

Commit

Permalink
Update upload.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Sakura-Byte committed Jan 2, 2025
1 parent 37d930c commit 0ae82c4
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions backend/115/upload.go
Original file line number Diff line number Diff line change
Expand Up @@ -394,12 +394,6 @@ func (f *Fs) sampleUploadForm(ctx context.Context, in io.Reader, initResp *api.S
}
}()

defer func () {
if err := multipartWriter.Close(); err != nil {
errChan <- fmt.Errorf("failed to close multipart writer: %w", err)
}
}

// Add normal form fields
fields := map[string]string{
"name": name,
Expand Down

0 comments on commit 0ae82c4

Please sign in to comment.