Skip to content

Commit

Permalink
aaaaaaaaaaaaa
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhravya committed Apr 13, 2024
1 parent 38222b9 commit 7648bda
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions apps/cf-ai-backend/src/routes/queue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ export const queue = async (batch: MessageBatch, env: Env): Promise<void> => {
},
);

console.log(token);

const res = await fetch('https://supermemory.dhr.wtf/api/addTweetsToDb', {
method: 'POST',
headers: {
Expand Down
2 changes: 1 addition & 1 deletion apps/extension/src/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ export const getEnv = () => {
// })

// return null
return "development";
return "production";
};
2 changes: 1 addition & 1 deletion apps/web/src/app/api/addTweetsToDb/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export async function POST(req: NextRequest) {

if (!token) {
return new Response(
JSON.stringify({ message: "Invalid Key, session not found." }),
JSON.stringify({ message: "Invalid Key, TOKEN not found." }),
{ status: 404 },
);
}
Expand Down

0 comments on commit 7648bda

Please sign in to comment.