Style: satisfy Biome lint suggestions

This commit is contained in:
Peter Steinberger
2025-11-28 08:08:55 +01:00
parent 2b8e9ff9a8
commit 0f0bd5d680
+2 -5
View File
@@ -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 {