Skip to content

Commit 413bd74

Browse files
committed
Remove unneeded param
1 parent 7bc7cee commit 413bd74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Octoshift/Services/GithubApi.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ public virtual async Task AddTeamSync(string org, string teamName, string groupI
213213
await _client.PatchAsync(url, payload);
214214
}
215215

216-
public virtual async Task AddTeamToRepo(string org, string repo, string teamSlug, string role, string targetApiUrl = null)
216+
public virtual async Task AddTeamToRepo(string org, string repo, string teamSlug, string role)
217217
{
218218
var url = $"{_apiUrl}/orgs/{org.EscapeDataString()}/teams/{teamSlug.EscapeDataString()}/repos/{org.EscapeDataString()}/{repo.EscapeDataString()}";
219219
var payload = new { permission = role };

0 commit comments

Comments
 (0)