mirror of
https://git.ethanthesleepy.one/ethanaobrien/ew
synced 2025-10-09 00:47:19 +08:00
Remove dead code
This commit is contained in:
@@ -10,8 +10,7 @@ pub fn dummy(req: HttpRequest, _body: String) -> HttpResponse {
|
||||
//let body = json::parse(&encryption::decrypt_packet(&body).unwrap()).unwrap();
|
||||
let blank_header = HeaderValue::from_static("");
|
||||
let key = req.headers().get("a6573cbe").unwrap_or(&blank_header).to_str().unwrap_or("");
|
||||
let uid = req.headers().get("aoharu-user-id").unwrap_or(&blank_header).to_str().unwrap_or("");
|
||||
let user = userdata::get_acc(key, uid);
|
||||
let user = userdata::get_acc(key);
|
||||
|
||||
println!("Signin from uid: {}", user["user"]["id"].clone());
|
||||
let resp = object!{
|
||||
|
Reference in New Issue
Block a user