run cargo clippy

This commit is contained in:
Ethan O'Brien
2024-05-24 12:44:52 -05:00
parent baa14654f5
commit 8d301c827d
23 changed files with 26 additions and 31 deletions

View File

@@ -120,14 +120,14 @@ fn api_req(req: HttpRequest, body: String) -> HttpResponse {
"server_time": global::timestamp(),
"data": resp.unwrap()
};
return global::send(rv, uid);
global::send(rv, uid)
} else {
let rv = object!{
"code": 2,//Idontnermemrmemremremermrme
"server_time": global::timestamp(),
"data": ""
};
return global::send(rv, uid);
global::send(rv, uid)
}
}