Remove unnecessary logging

This commit is contained in:
dangered wolf 2024-01-22 02:25:17 -05:00
parent 90e9c3a1eb
commit 8eae9e9c32
No known key found for this signature in database
GPG key ID: 41E4D37680ED8B58
3 changed files with 1 additions and 7 deletions

View file

@ -47,8 +47,6 @@ export const handleStatus = async (
flags?.api ?? false flags?.api ?? false
); );
console.log('twitterThread', thread);
const status = thread?.status as APITwitterStatus; const status = thread?.status as APITwitterStatus;
const api = { const api = {

View file

@ -67,7 +67,7 @@ export const fetchTweetDetail = async (
if (tweet && isGraphQLTwitterStatus(tweet)) { if (tweet && isGraphQLTwitterStatus(tweet)) {
return true; return true;
} }
console.log('invalid graphql tweet', conversation); console.log('invalid graphql tweet', JSON.stringify(conversation));
return Array.isArray(conversation?.errors); return Array.isArray(conversation?.errors);
}, },
@ -496,9 +496,7 @@ export const constructTwitterThread = async (
}; };
await Promise.all(threadStatuses.map(async status => { await Promise.all(threadStatuses.map(async status => {
console.log('Processing status for', status)
const builtStatus = await buildAPITwitterStatus(c, status, undefined, true, false) as APITwitterStatus; const builtStatus = await buildAPITwitterStatus(c, status, undefined, true, false) as APITwitterStatus;
console.log('builtStatus', builtStatus);
socialThread.thread?.push(builtStatus); socialThread.thread?.push(builtStatus);
})); }));

View file

@ -211,8 +211,6 @@ export const renderInstantView = (properties: RenderProperties): ResponseInstruc
: `` : ``
]; ];
console.log('thread', thread?.thread)
instructions.text = ` instructions.text = `
<section class="section-backgroundImage"> <section class="section-backgroundImage">
<figure class="graf--layoutFillWidth"></figure> <figure class="graf--layoutFillWidth"></figure>