Skip to content

Commit 76e7497

Browse files
committed
Why did BenchApp change the order of Away and Home in this thing?
1 parent ca286ad commit 76e7497

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/transformers/BenchAppGameToCSV.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ import { BenchAppGame } from "../../typings/benchAppData";
55
const EOL = "\n";
66

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

1010
function BenchAppGameToCSVRow(game: BenchAppGame): string {
1111
const fields: string[] = [
1212
game.Type,
1313
game["Game Type"],
1414
game.Title || "",
15-
game.Home,
1615
game.Away,
16+
game.Home,
1717
game.Date,
1818
game.Time,
1919
game.Duration,

0 commit comments

Comments
 (0)