summaryrefslogtreecommitdiff
path: root/discord/auditlog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'discord/auditlog.cpp')
-rw-r--r--discord/auditlog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/auditlog.cpp b/discord/auditlog.cpp
index 5f3cde5..bfada39 100644
--- a/discord/auditlog.cpp
+++ b/discord/auditlog.cpp
@@ -20,7 +20,7 @@ void from_json(const nlohmann::json &j, AuditLogOptions &m) {
void from_json(const nlohmann::json &j, AuditLogEntry &m) {
JS_N("target_id", m.TargetID);
JS_O("changes", m.Changes);
- JS_D("user_id", m.UserID);
+ JS_N("user_id", m.UserID);
JS_D("id", m.ID);
JS_D("action_type", m.Type);
JS_O("options", m.Options);