Implement post-live rewards

This commit is contained in:
Ethan O'Brien
2024-05-02 21:16:17 -05:00
parent 9951946858
commit c1a8923f9a
6 changed files with 233 additions and 102 deletions

View File

@@ -22,7 +22,7 @@ pub fn serial_code(req: HttpRequest, body: String) -> HttpResponse {
let item;
if body["input_code"].to_string() == "SIF2REVIVALREAL!" {
item = global::gift_item_basic(1, 10000, 4, "You typed in code!!!!!!!!!", &mut user);
item = global::gift_item_basic(1, 100000, 4, "You typed in code!!!!!!!!!", &mut user);
} else {
let resp = object!{
"code": 0,