Add another serial code
This commit is contained in:
@ -25,6 +25,8 @@ pub fn serial_code(req: HttpRequest, body: String) -> HttpResponse {
|
||||
item = global::gift_item_basic(1, 100000, 4, "Another game died... This makes me sad :(", &mut user);
|
||||
} else if body["input_code"].to_string() == "pweasegivegems11" {
|
||||
item = global::gift_item_basic(1, 6000, 1, "Only because you asked...", &mut user);
|
||||
} else if body["input_code"].to_string() == "sleepysleepyslep" {
|
||||
item = global::gift_item_basic(15540001, 50, 3, "I am tired", &mut user);
|
||||
} else {
|
||||
let resp = object!{
|
||||
"code": 0,
|
||||
|
Reference in New Issue
Block a user