summaryrefslogtreecommitdiff
path: root/discord/role.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'discord/role.cpp')
-rw-r--r--discord/role.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/role.cpp b/discord/role.cpp
index f1cd5ea..07a912e 100644
--- a/discord/role.cpp
+++ b/discord/role.cpp
@@ -1,6 +1,6 @@
#include "role.hpp"
-void from_json(const nlohmann::json &j, Role &m) {
+void from_json(const nlohmann::json &j, RoleData &m) {
JS_D("id", m.ID);
JS_D("name", m.Name);
JS_D("color", m.Color);