Added Account Level to Profile

This commit is contained in:
BloxerHD 2025-11-05 14:23:15 +00:00
commit b1240d05e8

View file

@ -269,7 +269,8 @@ pub struct GetOwnProfileData{
region: i32,
tz_name: String,
user_id: String,
utc_offset: String
utc_offset: String,
account_level: i32,
}
#[get("/v1/api/people/@me/profile")]
@ -291,7 +292,7 @@ pub fn build_profile(user: User) -> GetOwnProfileData {
let User {
username,
pid,
// account_level,
account_level,
mii_data,
gender,
birthdate,
@ -368,6 +369,7 @@ pub fn build_profile(user: User) -> GetOwnProfileData {
off_device_flag: YesNoVal(off_device_allowed),
region,
utc_offset: timezone_offset,
account_level,
}
}