Skip to content

Commit

Permalink
Merge 58500ca into 8c561b1
Browse files Browse the repository at this point in the history
  • Loading branch information
samsmithnz committed Jun 14, 2024
2 parents 8c561b1 + 58500ca commit d3109a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RepoAutomation.Core/APIAccess/GitHubApiAccess.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public static class GitHubApiAccess
string url = $"https://api.github.com/repos/{owner}/{repo}";
string? response = await BaseApiAccess.GetGitHubMessage(url, clientId, clientSecret, false);
if (!string.IsNullOrEmpty(response) &&
response != @"{""message"":""Not Found"",""documentation_url"":""https://docs.github.com/rest/repos/repos#get-a-repository""}")
response != @"{""message"":""Not Found"",""documentation_url"":""https://docs.github.com/rest/repos/repos#get-a-repository"",""status"":""404""}")
{
dynamic? jsonObj = JsonConvert.DeserializeObject(response);
result = JsonConvert.DeserializeObject<Repo>(jsonObj?.ToString());
Expand Down

0 comments on commit d3109a4

Please sign in to comment.