Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit bf5e871

Browse files
committed
Update octokit to 0.22.0
This fixes #534 via octokit/octokit.net#1411. Previously the request to /site/sha to detect an enterprise instance wasn't getting sent due to octokit's implementation of `RedirectHandler`.
1 parent 5cff6a6 commit bf5e871

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/GitHub.App/Api/ApiClient.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,11 @@ public IObservable<Repository> GetRepositories()
257257

258258
public IObservable<Branch> GetBranches(string owner, string repo)
259259
{
260+
#pragma warning disable CS0618
261+
// GetAllBranches is obsolete, but don't want to introduce the change to fix the
262+
// warning in the PR, so disabling for now.
260263
return gitHubClient.Repository.GetAllBranches(owner, repo);
264+
#pragma warning restore
261265
}
262266

263267
public IObservable<Repository> GetRepository(string owner, string repo)

submodules/octokit.net

Submodule octokit.net updated 393 files

0 commit comments

Comments
 (0)