This commit is contained in:
Ethan O'Brien
2024-05-24 12:52:48 -05:00
parent 8d301c827d
commit 1e9d0236be
5 changed files with 15 additions and 15 deletions

View File

@@ -5,7 +5,7 @@ use rand::Rng;
use crate::router::{global, userdata, items, databases};
use crate::encryption;
pub fn tutorial(req: HttpRequest, body: String) -> Option<JsonValue> {
pub fn tutorial(_req: HttpRequest, body: String) -> Option<JsonValue> {
let body = json::parse(&encryption::decrypt_packet(&body).unwrap()).unwrap();
let id = body["master_character_id"].to_string();
@@ -93,7 +93,7 @@ fn get_random_cards(id: i64, mut count: usize) -> JsonValue {
rv
}
pub fn lottery(req: HttpRequest) -> Option<JsonValue> {
pub fn lottery(_req: HttpRequest) -> Option<JsonValue> {
Some(object!{
"lottery_list": []
})