mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
ren a var
This commit is contained in:
parent
ff9f75b8aa
commit
b11ca36380
1 changed files with 3 additions and 3 deletions
|
|
@ -13,7 +13,7 @@ public interface IAgentGitHubClient
|
|||
|
||||
Task<Issue> CreateIssue(NewIssue newIssue);
|
||||
|
||||
Task<Issue> UpdateIssue(int issueNumber, IssueUpdate updateIssue);
|
||||
Task<Issue> UpdateIssue(int issueNumber, IssueUpdate issueUpdate);
|
||||
}
|
||||
|
||||
public class AgentGitHubClient : IAgentGitHubClient
|
||||
|
|
@ -60,12 +60,12 @@ public async Task<Issue> CreateIssue(NewIssue newIssue)
|
|||
}
|
||||
}
|
||||
|
||||
public async Task<Issue> UpdateIssue(int issueNumber, IssueUpdate updateIssue)
|
||||
public async Task<Issue> UpdateIssue(int issueNumber, IssueUpdate issueUpdate)
|
||||
{
|
||||
try
|
||||
{
|
||||
return await _gitHubClient.Issue.Update(_gitHubOptions.RepositoryOwner, _gitHubOptions.Repository,
|
||||
issueNumber, updateIssue);
|
||||
issueNumber, issueUpdate);
|
||||
}
|
||||
catch (ApiException ex)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue