Skip to content

Commit d7d20d0

Browse files
committed
Remove speakers missing from Sched
1 parent 68262b3 commit d7d20d0

File tree

3 files changed

+3318
-3325
lines changed

3 files changed

+3318
-3325
lines changed

scripts/sync-sched/count-speakers-without-details.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import type { SchedSpeaker } from "@/app/conf/_api/sched-types"
1616
console.log("Reading speakers.json...")
1717

1818
const speakersData = await readFile(speakersFilePath, "utf-8")
19-
const speakers: SchedSpeaker[] = JSON.parse(speakersData)
19+
const speakers: SchedSpeaker[] = JSON.parse(speakersData).speakers
2020

2121
const speakersWithoutDetails = speakers.filter(
2222
speaker => !speaker["~syncedDetailsAt"],

0 commit comments

Comments
 (0)