compat api returns non-standard values sometimes

null or string for numbers ugh
This commit is contained in:
13xforever 2022-08-09 17:16:57 +05:00
parent 89d832a9f6
commit 960ddb9fe6

View File

@ -26,6 +26,7 @@ public class Client: IDisposable
{
PropertyNamingPolicy = SpecialJsonNamingPolicy.SnakeCase,
DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull,
NumberHandling = JsonNumberHandling.AllowReadingFromString,
IncludeFields = true,
Converters = { new CompatApiCommitHashConverter(), },
};