Skip to content

Commit

Permalink
Revert changes to DefaultRestClient
Browse files Browse the repository at this point in the history
Didn't actually need to change this, whoops.
  • Loading branch information
WamWooWam committed Mar 11, 2018
1 parent 3f5b2c8 commit 7e04285
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Discord.Net.Rest/Net/DefaultRestClient.cs
Expand Up @@ -36,7 +36,7 @@ public DefaultRestClient(string baseUrl, bool useProxy = false)
SetHeader("accept-encoding", "gzip, deflate");

_cancelToken = CancellationToken.None;
_errorDeserializer = new JsonSerializer() { ContractResolver = new DiscordContractResolver() };
_errorDeserializer = new JsonSerializer();
}
private void Dispose(bool disposing)
{
Expand Down

0 comments on commit 7e04285

Please sign in to comment.