Cleanup imports

This commit is contained in:
Ethan O'Brien
2024-05-04 14:59:33 -05:00
parent 1cec98a01e
commit 8f5f32a17e
26 changed files with 89 additions and 343 deletions

View File

@@ -1,8 +1,8 @@
use json;
use json::{object};
use json::object;
use actix_web::{HttpResponse, HttpRequest};
use crate::router::global;
use crate::encryption;
use actix_web::{HttpResponse, HttpRequest};
pub fn error(_req: HttpRequest, body: String) -> HttpResponse {
let body = json::parse(&encryption::decrypt_packet(&body).unwrap()).unwrap();