mirror of
https://github.com/uowuo/abaddon.git
synced 2024-09-20 06:51:51 +00:00
global_name is optional
This commit is contained in:
parent
66101a25cb
commit
ec6f18ff12
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user