mirror of
https://github.com/uowuo/abaddon.git
synced 2026-08-15 05:19:58 +00:00
global_name is optional
This commit is contained in:
1 parent
66101a25cb
commit
ec6f18ff12
1 file changed
+1
-1
@@ -170,7 +170,7 @@ void from_json(const nlohmann::json &j, UserData &m) {
|
||||
JS_ON("phone", m.Phone);
|
||||
JS_ON("bio", m.Bio);
|
||||
JS_ON("banner", m.BannerHash);
|
||||
JS_N("global_name", m.GlobalName);
|
||||
JS_ON("global_name", m.GlobalName);
|
||||
}
|
||||
|
||||
void to_json(nlohmann::json &j, const UserData &m) {
|
||||
|
||||
Reference in new issue
Block a user