mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-07 20:30:41 +00:00
Pull-Request-Squash-Commit (#1245)
This commit is contained in:
@@ -119,7 +119,8 @@ namespace Octokit
|
||||
try
|
||||
{
|
||||
var endpoint = ApiUrls.MergePullRequest(owner, name, number);
|
||||
return await ApiConnection.Put<PullRequestMerge>(endpoint, mergePullRequest).ConfigureAwait(false);
|
||||
return await ApiConnection.Put<PullRequestMerge>(endpoint, mergePullRequest,null,
|
||||
AcceptHeaders.SquashCommitPreview).ConfigureAwait(false);
|
||||
}
|
||||
catch (ApiException ex)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user