Skip to content

Commit

Permalink
Why did BenchApp change the order of Away and Home in this thing?
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbenti committed Aug 9, 2023
1 parent ca286ad commit 76e7497
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/transformers/BenchAppGameToCSV.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ import { BenchAppGame } from "../../typings/benchAppData";
const EOL = "\n";

const CSV_HEADER =
"Type,Game Type,Title (Optional),Home,Away,Date,Time,Duration,Location (Optional),Address (Optional),Notes (Optional)";
"Type,Game Type,Title (Optional),Away,Home,Date,Time,Duration,Location (Optional),Address (Optional),Notes (Optional)";

function BenchAppGameToCSVRow(game: BenchAppGame): string {
const fields: string[] = [
game.Type,
game["Game Type"],
game.Title || "",
game.Home,
game.Away,
game.Home,
game.Date,
game.Time,
game.Duration,
Expand Down

0 comments on commit 76e7497

Please sign in to comment.