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

@@ -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"]);