Skip to content

Commit

Permalink
Revert go-gitea#28550.
Browse files Browse the repository at this point in the history
  • Loading branch information
KN4CK3R committed Dec 23, 2023
1 parent 33439b7 commit 15c3de4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions modules/lfs/http_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,7 @@ func (c *HTTPClient) batch(ctx context.Context, operation string, objects []Poin
return nil, err
}

req, err := createRequest(ctx, http.MethodPost, url, map[string]string{
"Content-Type": MediaType,
"Accept": MediaType,
}, payload)
req, err := createRequest(ctx, http.MethodPost, url, map[string]string{"Content-Type": MediaType}, payload)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 15c3de4

Please sign in to comment.