Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<Nullable>enable</Nullable>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Authors>CHHS Application Development Team</Authors>
<Version>1.0.4</Version>
<Version>1.0.5</Version>
<PackageProjectUrl>https://github.com/csu-chhs/CsuChhs.WebComponents.RestTools</PackageProjectUrl>
<Company>College of Health and Human Sciences</Company>
<PackageId>CsuChhs.WebComponents.RestTools</PackageId>
Expand All @@ -17,9 +17,9 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="CsuChhs.WebComponents" Version="1.0.*" />
<PackageReference Include="RestSharp" Version="112.*" />
<PackageReference Include="RestSharp.Serializers.NewtonsoftJson" Version="112.*" />
<PackageReference Include="CsuChhs.WebComponents" Version="1.0.8" />
<PackageReference Include="RestSharp" Version="114.0.0" />
<PackageReference Include="RestSharp.Serializers.NewtonsoftJson" Version="114.0.0" />
<None Include="../README.md" Pack="true" PackagePath="\"/>
</ItemGroup>

Expand Down
4 changes: 2 additions & 2 deletions CsuChhs.WebComponents.RestTools/Extensions/RestExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ public static class RestExtensions
/// </summary>
/// <param name="content"></param>
/// <returns></returns>
public static ProblemDetails? ToProblemDetails(this string content)
public static CustomProblemDetails? ToProblemDetails(this string content)
{
return JsonConvert
.DeserializeObject<ProblemDetails>(content);
.DeserializeObject<CustomProblemDetails>(content);
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace CsuChhs.WebComponents.RestTools.ResourceModels;

public class ProblemDetails
public class CustomProblemDetails
{
public string? Type { get; set; }
public string? Title { get; set; }
Expand Down
Loading