mirror of
https://git.ethanthesleepy.one/ethanaobrien/ew
synced 2025-10-09 00:47:19 +08:00
run cargo clippy
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user