Skip to content

Commit 9fc96e4

Browse files
committed
Remove hardcoded testing var
1 parent abd29e6 commit 9fc96e4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

functions/src/events/scrapeEvents.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,7 @@ class HearingScraper extends EventScraper<HearingListItem, Hearing> {
147147
return events.filter(HearingListItem.guard)
148148
}
149149

150-
async getEvent() {
151-
const EventId = 5091
150+
async getEvent({ EventId }: HearingListItem /* e.g. 4962 */) {
152151
const data = await api.getHearing(EventId)
153152
const content = HearingContent.check(data)
154153
const eventInDb = await db

0 commit comments

Comments
 (0)