no warngninsngs

This commit is contained in:
Ethan O'Brien
2024-05-24 13:00:12 -05:00
parent 1e9d0236be
commit ba0d38fb2d
7 changed files with 9 additions and 10 deletions

View File

@@ -201,11 +201,11 @@ fn get_clearrate_json() -> JsonValue {
}
}
pub fn clearrate(req: HttpRequest) -> Option<JsonValue> {
pub fn clearrate(_req: HttpRequest) -> Option<JsonValue> {
Some(get_clearrate_json())
}
pub fn ranking(req: HttpRequest, body: String) -> Option<JsonValue> {
pub fn ranking(_req: HttpRequest, body: String) -> Option<JsonValue> {
let body = json::parse(&encryption::decrypt_packet(&body).unwrap()).unwrap();
let live = body["master_live_id"].as_i64().unwrap();