mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-05 11:40:42 +00:00
Use base type for argument
This commit is contained in:
@@ -16,13 +16,13 @@ namespace Octokit
|
||||
{
|
||||
}
|
||||
|
||||
public NewAuthorization(string note, string[] scopes)
|
||||
public NewAuthorization(string note, IEnumerable<string> scopes)
|
||||
{
|
||||
Scopes = scopes;
|
||||
Note = note;
|
||||
}
|
||||
|
||||
public NewAuthorization(string note, string[] scopes, string fingerprint)
|
||||
public NewAuthorization(string note, IEnumerable<string> scopes, string fingerprint)
|
||||
{
|
||||
Scopes = scopes;
|
||||
Note = note;
|
||||
|
||||
Reference in New Issue
Block a user