fix(webhooks): always send event data, even if null
This commit is contained in:
parent
1822788e4d
commit
f071485a82
@ -58,7 +58,6 @@ namespace PluralKit.Core
|
||||
o.Add("id", data.EntityId);
|
||||
if (data.GuildId != null)
|
||||
o.Add("guild_id", data.GuildId);
|
||||
if (data.EventData != null)
|
||||
o.Add("data", data.EventData);
|
||||
|
||||
return new StringContent(JsonConvert.SerializeObject(o));
|
||||
|
Loading…
Reference in New Issue
Block a user