Skip to content

Commit 2b2f061

Browse files
authored
Merge pull request #2789 from JhChoy/patch-2
fix: client-twitter homeTimeline name parse bug
2 parents 0bab4d5 + 819d808 commit 2b2f061

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/client-twitter/src/base.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ export class ClientBase extends EventEmitter {
271271
const obj = {
272272
id: tweet.id,
273273
name:
274-
tweet.name ?? tweet?.user_results?.result?.legacy.name,
274+
tweet.name ?? tweet.core?.user_results?.result?.legacy.name,
275275
username:
276276
tweet.username ??
277277
tweet.core?.user_results?.result?.legacy.screen_name,

0 commit comments

Comments
 (0)