mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-05-20 09:02:51 +00:00
remove unwanted console logs
This commit is contained in:
parent
f7cf59b84d
commit
8e893131de
1 changed files with 1 additions and 4 deletions
|
|
@ -58,7 +58,6 @@ export async function queue(
|
|||
const db = database(env);
|
||||
|
||||
for (let message of batch.messages) {
|
||||
|
||||
const body = message.body;
|
||||
|
||||
const type = body.type;
|
||||
|
|
@ -167,7 +166,6 @@ export async function queue(
|
|||
}
|
||||
|
||||
case "tweet": {
|
||||
|
||||
const tweet = await getTweetData(body.content.split("/").pop());
|
||||
|
||||
const thread = await getThreadData({
|
||||
|
|
@ -186,11 +184,10 @@ export async function queue(
|
|||
image: tweet.value.user.profile_image_url_https,
|
||||
title: `Tweet by ${tweet.value.user.name}`,
|
||||
};
|
||||
console.log("this is the tweet metadata", metadata.title);
|
||||
|
||||
if (isErr(thread)) {
|
||||
console.log("Thread worker is down!");
|
||||
vectorData = JSON.stringify(pageContent);
|
||||
console.log(vectorData);
|
||||
console.error(thread.error);
|
||||
} else {
|
||||
console.log("thread worker is fine");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue