diff --git a/src/providers/twitter/conversation.ts b/src/providers/twitter/conversation.ts
index 3b3e332..45f2087 100644
--- a/src/providers/twitter/conversation.ts
+++ b/src/providers/twitter/conversation.ts
@@ -69,7 +69,8 @@ export const fetchTweetDetail = async (
return true;
}
console.log('invalid graphql tweet', tweet);
- console.log('from response', response)
+ console.log('finding status', status);
+ console.log('from response', JSON.stringify(response))
return Array.isArray(conversation?.errors);
},
diff --git a/src/render/instantview.ts b/src/render/instantview.ts
index 56d21e0..2da3b6f 100644
--- a/src/render/instantview.ts
+++ b/src/render/instantview.ts
@@ -16,7 +16,7 @@ const populateUserLinks = (status: APIStatus, text: string): string => {
return text;
};
-const generateStatusMedia = (status: APIStatus): string => {
+const generateStatusMedia = (status: APIStatus, author: APIUser): string => {
let media = '';
if (status.media?.all?.length) {
status.media.all.forEach(mediaItem => {
@@ -30,10 +30,10 @@ const generateStatusMedia = (status: APIStatus): string => {
});
break;
case 'video':
- media += ``;
+ media += ``;
break;
case 'gif':
- media += ``;
+ media += ``;
break;
}
});
@@ -172,7 +172,7 @@ const generateStatus = (status: APIStatus, author: APIUser, isQuote = false): st
return `
{quoteHeader}
- ${generateStatusMedia(status)}
+ ${generateStatusMedia(status, author)}
${translatedText ? translatedText : notApplicableComment}