mirror of
https://git.ethanthesleepy.one/ethanaobrien/ew.git
synced 2025-05-13 11:37:33 -05:00
correct /api/live/continue endpoint
This commit is contained in:
parent
664a428d94
commit
a1e400c1ec
1 changed files with 3 additions and 1 deletions
|
@ -189,7 +189,9 @@ pub fn continuee(req: HttpRequest, body: String) -> Option<JsonValue> {
|
||||||
|
|
||||||
userdata::save_acc(&key, user.clone());
|
userdata::save_acc(&key, user.clone());
|
||||||
|
|
||||||
Some(user["gem"].clone())
|
Some(object!{
|
||||||
|
gem: user["gem"].clone()
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn update_live_data(user: &mut JsonValue, data: &JsonValue, add: bool) -> JsonValue {
|
pub fn update_live_data(user: &mut JsonValue, data: &JsonValue, add: bool) -> JsonValue {
|
||||||
|
|
Loading…
Add table
Reference in a new issue