File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -275,7 +275,7 @@ pub async fn tower_battle_finish(Json(payload): JSON) -> JSON {
275
275
276
276
for battle_info in get_keys ( & battle_data[ "battleData" ] [ "stats" ] [ "extraBattleInfo" ] ) {
277
277
if battle_info. starts_with ( "DETAILED" ) && battle_info. ends_with ( "legion_gain_reward_trap" ) {
278
- let infos = battle_info. split ( ',' ) . collect :: < Vec < & str > > ( ) ;
278
+ let infos = battle_info. split ( ',' ) . collect :: < Vec < _ > > ( ) ;
279
279
trap. push ( json ! ( {
280
280
"id" : infos[ 1 ] ,
281
281
"alias" : infos[ 2 ] ,
@@ -436,7 +436,11 @@ pub async fn tower_settle_game() -> JSON {
436
436
"id" : "" ,
437
437
"subGodCardId" : "" ,
438
438
} ,
439
- "halftime" : { "count" : 0 , "candidate" : [ ] , "canGiveUp" : false } ,
439
+ "halftime" : {
440
+ "count" : 0 ,
441
+ "candidate" : [ ] ,
442
+ "canGiveUp" : false
443
+ } ,
440
444
"trap" : [ ] ,
441
445
"raward" : { } ,
442
446
}
You can’t perform that action at this time.
0 commit comments