We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f641367 + 3cbee8a commit fce8851Copy full SHA for fce8851
DiscordRPC/User.cs
@@ -91,7 +91,7 @@ public enum AvatarSize
91
/// <summary>
92
/// The flags on a users account, often represented as a badge.
93
/// </summary>
94
- [JsonProperty("flags")]
+ [JsonProperty("flags", NullValueHandling = NullValueHandling.Ignore)]
95
public Flag Flags { get; private set; }
96
97
@@ -140,7 +140,7 @@ public enum Flag
140
141
/// The premium type of the user.
142
143
- [JsonProperty("premium_type")]
+ [JsonProperty("premium_type", NullValueHandling = NullValueHandling.Ignore)]
144
public PremiumType Premium { get; private set; }
145
146
0 commit comments