mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-07 04:16:51 +00:00
Remove preview accept media type
This media type is only needed IF You want to make retrieving statuses available at the endpoint /repos/:owner/:repo/commits/:ref/statuses. But we're not doing that here.
This commit is contained in:
@@ -38,8 +38,7 @@ namespace Octokit
|
||||
// https://developer.github.com/v3/repos/statuses/#list-statuses-for-a-specific-ref
|
||||
return ApiConnection.GetAll<CommitStatus>(
|
||||
ApiUrls.CommitStatus(owner, name, reference),
|
||||
null,
|
||||
"application/vnd.github.she-hulk-preview+json");
|
||||
null);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -61,8 +60,7 @@ namespace Octokit
|
||||
// https://developer.github.com/v3/repos/statuses/#list-statuses-for-a-specific-ref
|
||||
return ApiConnection.Post<CommitStatus>(
|
||||
ApiUrls.CommitStatus(owner, name, reference),
|
||||
commitStatus,
|
||||
"application/vnd.github.she-hulk-preview+json");
|
||||
commitStatus);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user