Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
howardchung committed Jan 10, 2024
1 parent 64f6809 commit 2efcd69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/actions/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ export const getPlayerMatches = (accountId, params) => action('playerMatches', c
...paramsWithTurbo(params),
significant: 0,
project: [
'duration', 'game_mode', 'lobby_type', // needed since significant = 0 excludes these fields when used with project field
'start_time', 'hero_id', 'start_time', 'version', 'kills', 'deaths', 'assists', 'skill', 'leaver_status', 'party_size', 'average_rank', // default fields when querying without project field
'duration', 'game_mode', 'lobby_type',
'start_time', 'hero_id', 'version', 'kills', 'deaths', 'assists', 'leaver_status', 'party_size', 'average_rank', // default fields when querying without project field
'item_0', 'item_1', 'item_2', 'item_3', 'item_4', 'item_5', 'backpack_0', // additional fields required for items
] }, transformPlayerMatches({ ...querystring.parse(params.substring(1)) }));
export const getPlayerPeers = (accountId, params) => action('playerPeers', config.VITE_API_HOST, `api/players/${accountId}/peers`, paramsWithTurbo(params));
Expand Down

0 comments on commit 2efcd69

Please sign in to comment.