Skip to content

Commit 06310bc

Browse files
committed
And fix usage to match new times.
1 parent 4f6cd8a commit 06310bc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

functions/src/events/scrapeEvents.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,9 +211,9 @@ class HearingScraper extends EventScraper<HearingListItem, Hearing> {
211211
id: `hearing-${EventId}`,
212212
type: "hearing",
213213
content,
214-
videoURL: maybeVideoURL,
215-
videoFetchedAt: maybeVideoURL ? Timestamp.now() : null,
216-
videoAssemblyId: transcript ? transcript.id : null,
214+
videoURL: maybeVideoURL ? maybeVideoURL : undefined,
215+
videoFetchedAt: maybeVideoURL ? Timestamp.now() : undefined,
216+
videoAssemblyId: transcript ? transcript.id : undefined,
217217
...this.timestamps(content)
218218
}
219219
return event

0 commit comments

Comments
 (0)