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:
Haacked
2014-06-30 11:04:27 -07:00
parent 577b154cdb
commit 7c58fa28a7
+2 -4
View File
@@ -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);
}
}
}