Skip to content

Commit 79d8cfa

Browse files
committed
feat(bulk-metadata): Add tracked stats and accolades to metadata query
1 parent 56c12bd commit 79d8cfa

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/routes/v1/matches/bulk_metadata.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,9 @@ fn build_query(query: BulkMatchMetadataQuery) -> APIResult<String> {
135135
"any(average_badge_team1) as average_badge_team1".to_owned(),
136136
"any(rewards_eligible) as rewards_eligible".to_owned(),
137137
"any(not_scored) as not_scored".to_owned(),
138+
"any(match_tracked_stats) as match_tracked_stats".to_owned(),
139+
"any(team0_tracked_stats) as team0_tracked_stats".to_owned(),
140+
"any(team1_tracked_stats) as team1_tracked_stats".to_owned(),
138141
]);
139142
}
140143
if query.include_mid_boss {
@@ -163,6 +166,9 @@ fn build_query(query: BulkMatchMetadataQuery) -> APIResult<String> {
163166
"assigned_lane",
164167
"player_level",
165168
"abandon_match_time_s",
169+
"mvp_rank",
170+
"player_tracked_stats",
171+
"accolades",
166172
]);
167173
}
168174
if query.include_player_items {

0 commit comments

Comments
 (0)