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