global_name is optional

This commit is contained in:
ouwou 2023-06-25 20:15:25 -04:00
parent 66101a25cb
commit ec6f18ff12

View File

@ -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) {