Skip to content

Commit

Permalink
Fix contract resolver conflict between .netstandard/.net45
Browse files Browse the repository at this point in the history
  • Loading branch information
pieceofsummer committed Aug 10, 2018
1 parent 301fcdd commit 30c8db2
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Hangfire.Console/Dashboard/JobProgressDispatcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,7 @@ internal class JobProgressDispatcher : IDashboardDispatcher
{
private static readonly JsonSerializerSettings JsonSettings = new JsonSerializerSettings()
{
ContractResolver = new CamelCasePropertyNamesContractResolver()
{
NamingStrategy = new CamelCaseNamingStrategy(false, true)
}
ContractResolver = new DefaultContractResolver()
};

// ReSharper disable once NotAccessedField.Local
Expand Down

0 comments on commit 30c8db2

Please sign in to comment.