mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-07 04:16:51 +00:00
less nulls in your life
This commit is contained in:
@@ -35,7 +35,7 @@ namespace Octokit.Tests.Clients
|
||||
|
||||
client.Received().GetAll<Authorization>(
|
||||
Arg.Is<Uri>(u => u.ToString() == "authorizations"),
|
||||
Arg.Is<IDictionary<string,string>>(d => d == null));
|
||||
Args.ApiOptions);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ namespace Octokit
|
||||
/// <returns>A list of <see cref="Authorization"/>s.</returns>
|
||||
public Task<IReadOnlyList<Authorization>> GetAll()
|
||||
{
|
||||
return ApiConnection.GetAll<Authorization>(ApiUrls.Authorizations(), (IDictionary<string,string>)null);
|
||||
return ApiConnection.GetAll<Authorization>(ApiUrls.Authorizations(), ApiOptions.None);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user