style(fifa17): cargo fmt match wire + host match integration
This commit is contained in:
@@ -55,8 +55,8 @@ use openfut_adapter_fifa17::fut::club_response::{
|
||||
};
|
||||
use openfut_adapter_fifa17::fut::club_stats::{club_stats_body, ClubStatInput, ContextField};
|
||||
use openfut_adapter_fifa17::fut::content_taxonomy::ContentKind;
|
||||
use openfut_adapter_fifa17::fut::match_wire;
|
||||
use openfut_adapter_fifa17::fut::entities::{Fifa17Entities, ReverseEntityResolver};
|
||||
use openfut_adapter_fifa17::fut::match_wire;
|
||||
use openfut_adapter_fifa17::fut::non_economy;
|
||||
use openfut_adapter_fifa17::fut::owned_query::{
|
||||
is_special_rareflag, map_to_core, parse_club_query, MapError,
|
||||
@@ -2467,9 +2467,10 @@ pub fn handle_match_end(econ: &dyn CoreEconomy, persona: i64, body: &[u8]) -> Wi
|
||||
mode: "seasons",
|
||||
};
|
||||
match econ.complete_match(&completion) {
|
||||
Ok(receipt) => {
|
||||
json_response(&match_wire::reward_response(receipt.coins_balance, receipt.coins_awarded))
|
||||
}
|
||||
Ok(receipt) => json_response(&match_wire::reward_response(
|
||||
receipt.coins_balance,
|
||||
receipt.coins_awarded,
|
||||
)),
|
||||
Err(_) => error_response(503, "core_unavailable"),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user