Style: satisfy Biome lint suggestions
This commit is contained in:
@@ -272,12 +272,9 @@ export class TwitterClient {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Prefer direct tweetResult if present, otherwise search the conversation thread
|
// Prefer direct tweetResult if present, otherwise search the conversation thread
|
||||||
let tweetResult =
|
const tweetResult =
|
||||||
data.data?.tweetResult?.result ??
|
data.data?.tweetResult?.result ??
|
||||||
this.findTweetInInstructions(
|
this.findTweetInInstructions(data.data?.threaded_conversation_with_injections_v2?.instructions, tweetId);
|
||||||
data.data?.threaded_conversation_with_injections_v2?.instructions,
|
|
||||||
tweetId,
|
|
||||||
);
|
|
||||||
|
|
||||||
if (!tweetResult) {
|
if (!tweetResult) {
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in New Issue
Block a user