mirror of
https://git.ethanthesleepy.one/ethanaobrien/ew.git
synced 2025-05-13 11:37:33 -05:00
Lets not lie to the user for now
This commit is contained in:
parent
d9a42f162c
commit
6388d8e4be
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ pub fn lottery(req: HttpRequest, body: String) -> HttpResponse {
|
||||||
let new_card = object!{
|
let new_card = object!{
|
||||||
"id": 10,
|
"id": 10,
|
||||||
"master_card_id": 40030002,//todo - what should this be??
|
"master_card_id": 40030002,//todo - what should this be??
|
||||||
"master_lottery_item_id": (body["master_lottery_id"].to_string().parse::<i32>().unwrap() * 100) + 1,
|
"master_lottery_item_id": 9110027,//(body["master_lottery_id"].to_string().parse::<i32>().unwrap() * 100) + 1,
|
||||||
"master_lottery_item_number": 1
|
"master_lottery_item_number": 1
|
||||||
};
|
};
|
||||||
cardstogive.push(new_card).unwrap();
|
cardstogive.push(new_card).unwrap();
|
||||||
|
|
Loading…
Add table
Reference in a new issue