Skip to content

Commit

Permalink
fix runner link to twitch
Browse files Browse the repository at this point in the history
  • Loading branch information
EwanLyon committed Aug 7, 2023
1 parent 62902bb commit bba851a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/keystone/admin/util/schedule/export-horaro.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ function endRunTime(scheduled: Date, estimate: string) {
}

function runnersToHoraro(runners: QueryRuns['event']['runs'][0]['runners'], race: boolean, coop: boolean) {
const formattedRunners = runners.map(runner => runner.twitch ? `[${runner.username}](https://www.twitter.com/${runner.twitch})` : runner.username);
const formattedRunners = runners.map(runner => runner.twitch ? `[${runner.username}](https://www.twitch.tv/${runner.twitch})` : runner.username);

if (race) {
return coop ? formattedRunners.join(', ') : formattedRunners.join(' vs. ');
Expand Down

0 comments on commit bba851a

Please sign in to comment.