Skip to content

Commit

Permalink
Releases API is official
Browse files Browse the repository at this point in the history
  • Loading branch information
thoemmi committed Nov 10, 2013
1 parent a20979f commit e981e09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Solutionizer/Infrastructure/ReleaseInfoReader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ public GithubReleaseProvider(ISettings settings) {
protected override async Task<IEnumerable<Release>> GetReleasesAsync() {
var client = new RestClient("https://api.github.com");
var request = new RestRequest("repos/thoemmi/Solutionizer/releases");
request.AddHeader("Accept", "application/vnd.github.manifold-preview");
request.AddHeader("Accept", "application/vnd.github.v3+json");
if (!String.IsNullOrWhiteSpace(_settings.LastUpdateCheckETag)) {
request.AddHeader("If-None-Match", "\"" + _settings.LastUpdateCheckETag + "\"");
}
Expand Down

0 comments on commit e981e09

Please sign in to comment.