From 1411128c0dfa2905a561961d9bba5f0a7cd78499 Mon Sep 17 00:00:00 2001 From: Mephistic Date: Tue, 16 Dec 2025 21:20:31 -0500 Subject: [PATCH] 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) --- functions/src/events/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/src/events/types.ts b/functions/src/events/types.ts index 588f97925..b507b2eb0 100644 --- a/functions/src/events/types.ts +++ b/functions/src/events/types.ts @@ -77,7 +77,7 @@ export const HearingContent = BaseEventContent.extend({ Record({ BillNumber: String, GeneralCourtNumber: Number, - PrimarySponsor: Nullable(Record({ Id: String })), + PrimarySponsor: Nullable(Record({ Id: Nullable(String) })), Title: String }) ),