Skip to content

Commit

Permalink
Fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
HitomaruKonpaku committed May 23, 2024
1 parent 30b122a commit 1f7fc20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/module/twitter/util/twitter-entity.util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export class TwitterEntityUtil {

if (legacy?.entities?.urls?.length) {
obj.spaceIds = legacy.entities.urls
.filter((v) => v.expanded_url.includes('i/spaces'))
.filter((v) => v.expanded_url?.includes('i/spaces'))
.map((v) => TwitterSpaceUtil.parseId(v.expanded_url))
}

Expand Down

0 comments on commit 1f7fc20

Please sign in to comment.