correct /api/live/continue endpoint

This commit is contained in:
Ethan O'Brien 2024-06-04 10:38:05 -05:00
parent 664a428d94
commit a1e400c1ec

View file

@ -189,7 +189,9 @@ pub fn continuee(req: HttpRequest, body: String) -> Option<JsonValue> {
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 {