mirror of
https://github.com/RPCS3/discord-bot.git
synced 2024-11-23 10:19:39 +00:00
compat api returns non-standard values sometimes
null or string for numbers ugh
This commit is contained in:
parent
89d832a9f6
commit
960ddb9fe6
@ -26,6 +26,7 @@ public class Client: IDisposable
|
||||
{
|
||||
PropertyNamingPolicy = SpecialJsonNamingPolicy.SnakeCase,
|
||||
DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull,
|
||||
NumberHandling = JsonNumberHandling.AllowReadingFromString,
|
||||
IncludeFields = true,
|
||||
Converters = { new CompatApiCommitHashConverter(), },
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user