mirror of
https://git.ethanthesleepy.one/ethanaobrien/ew
synced 2025-10-08 16:37:20 +08:00
Move item related functions to their own file
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
use json::{object, array};
|
||||
use actix_web::{HttpResponse, HttpRequest};
|
||||
|
||||
use crate::router::userdata;
|
||||
use crate::router::{userdata, global};
|
||||
use crate::encryption;
|
||||
use crate::router::global;
|
||||
|
||||
pub fn friend(req: HttpRequest, body: String) -> HttpResponse {
|
||||
let key = global::get_login(req.headers(), &body);
|
||||
|
Reference in New Issue
Block a user