Skip to content

Commit

Permalink
Merge pull request #84 from aspriddell/update-deps
Browse files Browse the repository at this point in the history
Update dependencies
  • Loading branch information
aspriddell authored Aug 12, 2022
2 parents bf8bd85 + 07b2775 commit e5c393d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
10 changes: 5 additions & 5 deletions DragonFruit.Link.Tests/DragonFruit.Link.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.0.0"/>
<PackageReference Include="MSTest.TestFramework" Version="2.2.8"/>
<PackageReference Include="MSTest.TestAdapter" Version="2.2.8"/>
<PackageReference Include="coverlet.collector" Version="3.1.0">
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.3.0" />
<PackageReference Include="MSTest.TestFramework" Version="2.2.10" />
<PackageReference Include="MSTest.TestAdapter" Version="2.2.10" />
<PackageReference Include="coverlet.collector" Version="3.1.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\DragonFruit.Link\DragonFruit.Link.csproj"/>
<ProjectReference Include="..\DragonFruit.Link\DragonFruit.Link.csproj" />
</ItemGroup>

</Project>
4 changes: 2 additions & 2 deletions DragonFruit.Link/DragonFruit.Link.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="DragonFruit.Data" Version="2021.1218.0" />
<PackageReference Include="DragonFruit.Data.Serializers.Newtonsoft" Version="2021.1218.0" />
<PackageReference Include="DragonFruit.Data" Version="2022.702.0" />
<PackageReference Include="DragonFruit.Data.Serializers.Newtonsoft" Version="2022.702.0" />
</ItemGroup>

</Project>
5 changes: 3 additions & 2 deletions DragonFruit.Link/SteamApiRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using System;
using DragonFruit.Data;
using DragonFruit.Data.Parameters;
using DragonFruit.Data.Requests;
using DragonFruit.Link.Exceptions;
using Newtonsoft.Json;

Expand All @@ -12,7 +13,7 @@
namespace DragonFruit.Link
{
[JsonObject(MemberSerialization.OptIn)]
public abstract class SteamApiRequest : ApiRequest
public abstract class SteamApiRequest : ApiRequest, IRequestExecutingCallback
{
protected override Methods Method => Methods.Get;
protected override bool RequireAuth => false; // this only checks headers, ours is in the query
Expand All @@ -33,7 +34,7 @@ public abstract class SteamApiRequest : ApiRequest
[QueryParameter("format")]
protected string OutputFormat => "json";

protected override void OnRequestExecuting(ApiClient client)
public void OnRequestExecuting(ApiClient client)
{
if (RequireApiKey && string.IsNullOrEmpty(ApiKey))
{
Expand Down

0 comments on commit e5c393d

Please sign in to comment.