mirror of
https://git.ethanthesleepy.one/ethanaobrien/ew
synced 2026-07-14 09:42:17 +08:00
no warngninsngs
This commit is contained in:
@@ -3,7 +3,7 @@ use actix_web::{HttpRequest};
|
||||
|
||||
use crate::encryption;
|
||||
|
||||
pub fn error(req: HttpRequest, body: String) -> Option<JsonValue> {
|
||||
pub fn error(_req: HttpRequest, body: String) -> Option<JsonValue> {
|
||||
let body = json::parse(&encryption::decrypt_packet(&body).unwrap()).unwrap();
|
||||
|
||||
println!("client error: {}", body["code"]);
|
||||
|
||||
Reference in New Issue
Block a user