diff options
| author | Dhravya Shah <[email protected]> | 2024-08-05 18:38:00 -0700 |
|---|---|---|
| committer | Dhravya Shah <[email protected]> | 2024-08-05 18:38:00 -0700 |
| commit | e6526826715fd2bc8fcb05145cbfd9c0cdc02b95 (patch) | |
| tree | ad1cf74dd0964529e9f59de879ca4744d2b9c880 /apps/extension | |
| parent | Merge branch 'main' of github.com:supermemoryai/supermemory (diff) | |
| download | supermemory-e6526826715fd2bc8fcb05145cbfd9c0cdc02b95.tar.xz supermemory-e6526826715fd2bc8fcb05145cbfd9c0cdc02b95.zip | |
fix: entities urls might not be there
Diffstat (limited to 'apps/extension')
| -rw-r--r-- | apps/extension/helpers.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/extension/helpers.ts b/apps/extension/helpers.ts index 9e95f963..029de5c7 100644 --- a/apps/extension/helpers.ts +++ b/apps/extension/helpers.ts @@ -43,7 +43,7 @@ export function transformTweetData(input: any): Tweet | null { display_text_range: tweet.legacy.display_text_range, entities: { hashtags: tweet.legacy.entities.hashtags, - urls: tweet.legacy.entities.urls, + urls: tweet.legacy.entities?.urls, user_mentions: tweet.legacy.entities.user_mentions, symbols: tweet.legacy.entities.symbols, }, |