Skip to content

Commit

Permalink
handle undefined text
Browse files Browse the repository at this point in the history
  • Loading branch information
Bossett committed Dec 31, 2024
1 parent 8cafe1b commit 077ea15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/subscription.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export class FirehoseSubscription extends FirehoseSubscriptionBase {
uri: create.uri,
cid: create.cid,
author: create.author,
text: create.record?.text,
text: `${create.record?.text}`,
replyParent: create.record?.reply?.parent.uri ?? null,
replyRoot: create.record?.reply?.root.uri ?? null,
indexedAt: new Date().getTime(),
Expand Down

0 comments on commit 077ea15

Please sign in to comment.