mirror of
https://git.ethanthesleepy.one/ethanaobrien/ew.git
synced 2025-05-13 11:37:33 -05:00
Silence warnings
This commit is contained in:
parent
2fc7a17d4f
commit
f33e211dab
2 changed files with 4 additions and 4 deletions
|
@ -8,7 +8,7 @@ use json::object;
|
|||
use hmac::{Hmac, Mac};
|
||||
use crate::router::userdata;
|
||||
|
||||
pub fn initialize(req: HttpRequest, body: String) -> HttpResponse {
|
||||
pub fn initialize(req: HttpRequest, _body: String) -> HttpResponse {
|
||||
//println!("{}", body);
|
||||
let app_id = "232610769078541";
|
||||
let resp = object!{
|
||||
|
|
|
@ -4,9 +4,9 @@ use crate::router::global;
|
|||
use actix_web::{HttpResponse, HttpRequest};
|
||||
use crate::router::userdata;
|
||||
|
||||
pub fn mission(req: HttpRequest) -> HttpResponse {
|
||||
let key = global::get_login(req.headers());
|
||||
let user = userdata::get_acc(&key);
|
||||
pub fn mission(_req: HttpRequest) -> HttpResponse {
|
||||
//let key = global::get_login(req.headers());
|
||||
//let user = userdata::get_acc(&key);
|
||||
|
||||
let resp = object!{
|
||||
"code": 0,
|
||||
|
|
Loading…
Add table
Reference in a new issue