mirror of
https://github.com/CompeyDev/fxtwitter-docker.git
synced 2025-04-06 11:00:54 +01:00
Remove unnecessary logging
This commit is contained in:
parent
90e9c3a1eb
commit
8eae9e9c32
3 changed files with 1 additions and 7 deletions
|
@ -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 = {
|
||||||
|
|
|
@ -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);
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Add table
Reference in a new issue