Skip to content

Commit

Permalink
bugfix octokit#2870
Browse files Browse the repository at this point in the history
  • Loading branch information
olduh29 committed Jan 30, 2024
1 parent c9ddf3e commit 599ab35
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Octokit/Http/Connection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,8 @@ public async Task<HttpStatusCode> Delete(Uri uri, object data)
Method = HttpMethod.Delete,
Body = data,
BaseAddress = BaseAddress,
Endpoint = uri
Endpoint = uri,
ContentType = "application/json"
};
var response = await Run<object>(request, CancellationToken.None).ConfigureAwait(false);
return response.HttpResponse.StatusCode;
Expand Down

0 comments on commit 599ab35

Please sign in to comment.