bug fixed
This commit is contained in:
parent
fddd37cbf8
commit
936565f9e6
@ -102,9 +102,9 @@ impl Service {
|
|||||||
None => None,
|
None => None,
|
||||||
};
|
};
|
||||||
|
|
||||||
let game_setting = match req.game_setting {
|
let game_setting =
|
||||||
Some(a) => Some(
|
req.game_setting.map(
|
||||||
bpr::ss::member::create_member_request::request::GameSetting {
|
|a| bpr::ss::member::create_member_request::request::GameSetting {
|
||||||
can_bet_casino: a.can_bet_casino,
|
can_bet_casino: a.can_bet_casino,
|
||||||
can_bet_slot: a.can_bet_slot,
|
can_bet_slot: a.can_bet_slot,
|
||||||
can_bet_powerball: a.can_bet_powerball,
|
can_bet_powerball: a.can_bet_powerball,
|
||||||
@ -112,12 +112,9 @@ impl Service {
|
|||||||
can_bet_eos: a.can_bet_eos,
|
can_bet_eos: a.can_bet_eos,
|
||||||
can_bet_bogglepowerball: a.can_bet_bogglepowerball,
|
can_bet_bogglepowerball: a.can_bet_bogglepowerball,
|
||||||
},
|
},
|
||||||
),
|
);
|
||||||
None => None,
|
|
||||||
};
|
|
||||||
|
|
||||||
let settlement_setting = match req.settlement_setting {
|
let settlement_setting = req.settlement_setting.map(|a| {
|
||||||
Some(a) => Some(
|
|
||||||
bpr::ss::member::create_member_request::request::SettlementSetting {
|
bpr::ss::member::create_member_request::request::SettlementSetting {
|
||||||
can_exchange: a.can_exchange,
|
can_exchange: a.can_exchange,
|
||||||
can_first_charge_comp: a.can_first_charge_comp,
|
can_first_charge_comp: a.can_first_charge_comp,
|
||||||
@ -139,10 +136,8 @@ impl Service {
|
|||||||
rate_eos_combo: a.rate_eos_combo,
|
rate_eos_combo: a.rate_eos_combo,
|
||||||
rate_bogglepowerball_single: a.rate_bogglepowerball_single,
|
rate_bogglepowerball_single: a.rate_bogglepowerball_single,
|
||||||
rate_bogglepowerball_combo: a.rate_bogglepowerball_combo,
|
rate_bogglepowerball_combo: a.rate_bogglepowerball_combo,
|
||||||
},
|
}
|
||||||
),
|
});
|
||||||
None => None,
|
|
||||||
};
|
|
||||||
|
|
||||||
let ss_create_member_req = bpr::ss::member::CreateMemberRequest {
|
let ss_create_member_req = bpr::ss::member::CreateMemberRequest {
|
||||||
client: Some(client),
|
client: Some(client),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user