Skip to content

Commit

Permalink
fix: so strict
Browse files Browse the repository at this point in the history
  • Loading branch information
Yukaii committed Jul 29, 2023
1 parent 5f2659a commit c3b39c3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/api/search/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ export async function POST(req: Request) {
match_count: 10, // Choose the number of matches
});

const documentIds = documents.map((document) => document.id);

// const documentIds = documents.map((document) => document.id);
// const sessions = await supabaseClient.from("sessions").select("*").in("id", documentIds);

let tokenCount = 0;
Expand Down

0 comments on commit c3b39c3

Please sign in to comment.