mirror of
https://git.ethanthesleepy.one/ethanaobrien/ew
synced 2025-10-09 17:07:20 +08:00
cleanup
This commit is contained in:
@@ -141,7 +141,7 @@ fn get_json() -> JsonValue {
|
||||
let lives = DATABASE.lock_and_select_all("SELECT live_id FROM lives", params!()).unwrap();
|
||||
let mut rates = array![];
|
||||
let mut ids = array![];
|
||||
for (_i, id) in lives.members().enumerate() {
|
||||
for id in lives.members() {
|
||||
let info = DATABASE.get_live_data(id.as_i64().unwrap());
|
||||
if info.is_err() {
|
||||
continue;
|
||||
|
Reference in New Issue
Block a user