Skip to content

Commit df75b8d

Browse files
authored
fix(types): Updating HearingContent's PrimarySponsor type to account for the fact that the Id can be null (if the primary sponsor is not a member of the legislature) (#2016)
1 parent b0ed4b8 commit df75b8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functions/src/events/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export const HearingContent = BaseEventContent.extend({
7777
Record({
7878
BillNumber: String,
7979
GeneralCourtNumber: Number,
80-
PrimarySponsor: Nullable(Record({ Id: String })),
80+
PrimarySponsor: Nullable(Record({ Id: Nullable(String) })),
8181
Title: String
8282
})
8383
),

0 commit comments

Comments
 (0)