diff options
-rw-r--r-- | discord/objects.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/objects.cpp b/discord/objects.cpp index 8be697a..8303279 100644 --- a/discord/objects.cpp +++ b/discord/objects.cpp @@ -329,7 +329,7 @@ void from_json(const nlohmann::json &j, UserNoteObject &m) { JS_ON("user_id", m.UserID); } -void to_json(nlohmann::json &j, UserSetNoteObject &m) { +void to_json(nlohmann::json &j, const UserSetNoteObject &m) { j["note"] = m.Note; } |