mirror of
https://git.ethanthesleepy.one/ethanaobrien/ew.git
synced 2025-05-13 11:37:33 -05:00
Fix for fried list
Man I am hungry and I have no food....
This commit is contained in:
parent
222021382f
commit
4aa00fd3d8
1 changed files with 3 additions and 1 deletions
|
@ -24,7 +24,9 @@ pub fn friend(req: HttpRequest, body: String) -> Option<JsonValue> {
|
|||
};
|
||||
|
||||
for uid in rv_data.members() {
|
||||
rv.push(global::get_user(uid.as_i64().unwrap(), &friends, false)).unwrap();
|
||||
let mut user = global::get_user(uid.as_i64().unwrap(), &friends, false);
|
||||
user["user"]["last_login_time"] = global::set_time(user["user"]["last_login_time"].as_u64().unwrap_or(0), user_id, false).into();
|
||||
rv.push(user).unwrap();
|
||||
}
|
||||
|
||||
Some(object!{
|
||||
|
|
Loading…
Add table
Reference in a new issue