Fix unecessary parameters in OpenShockApi.GetShockers();
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
<Authors>Glax</Authors>
|
||||
<RepositoryUrl>https://github.com/C9Glax/CShocker</RepositoryUrl>
|
||||
<RepositoryType>git</RepositoryType>
|
||||
<Version>2.1.0</Version>
|
||||
<Version>2.1.1</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
@ -35,10 +35,9 @@ public abstract class OpenShockApi : Api
|
||||
return HashCode.Combine(Endpoint, ApiKey);
|
||||
}
|
||||
|
||||
public List<OpenShockShocker> GetShockers(string apiKey, string apiEndpoint = DefaultEndpoint,
|
||||
ILogger? logger = null)
|
||||
public List<OpenShockShocker> GetShockers()
|
||||
{
|
||||
return GetShockers(apiKey, this, apiEndpoint, logger);
|
||||
return GetShockers(this.ApiKey, this, this.Endpoint, this.Logger);
|
||||
}
|
||||
|
||||
public static List<OpenShockShocker> GetShockers(string apiKey, OpenShockApi api, string apiEndpoint = DefaultEndpoint, ILogger? logger = null)
|
||||
|
Reference in New Issue
Block a user