Skip to content

Commit

Permalink
fix: #790 (#798)
Browse files Browse the repository at this point in the history
  • Loading branch information
eiixy authored Jul 19, 2024
1 parent 727944c commit 3e47e6f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions files.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ func (c *Client) CreateFile(ctx context.Context, request FileRequest) (file File
if err != nil {
return
}
defer fileData.Close()

err = builder.CreateFormFile("file", fileData)
if err != nil {
Expand Down

0 comments on commit 3e47e6f

Please sign in to comment.