Skip to content

Commit

Permalink
issue #972
Browse files Browse the repository at this point in the history
  • Loading branch information
migbash committed Jan 13, 2023
1 parent 887e331 commit 25a919e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/routes/api/hasura/fixtures/head-2-head/+server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,13 +163,13 @@ async function main (
{
team_logo: team_1_data?.data?.logo_path,
team_name: team_1_data?.data?.name,
team_short: team_1_data?.data?.short_code,
team_short: team_1_data?.data?.short_code || team_1_data?.data?.name.slice(0, 3).toUpperCase() || null,
team_id: team_ids_arr[0],
},
{
team_logo: team_2_data?.data?.logo_path,
team_name: team_2_data?.data?.name,
team_short: team_2_data?.data?.short_code,
team_short: team_2_data?.data?.short_code || team_2_data?.data?.name.slice(0, 3).toUpperCase() || null,
team_id: team_ids_arr[1],
}
],
Expand Down

0 comments on commit 25a919e

Please sign in to comment.