diff --git a/apps/api/src/search/index.ts b/apps/api/src/search/index.ts index f365811..d3b66aa 100644 --- a/apps/api/src/search/index.ts +++ b/apps/api/src/search/index.ts @@ -28,7 +28,7 @@ export async function search({ timeout?: number; }) : Promise { try { - if (process.env.SERPER_API_KEY && !tbs) { + if (process.env.SERPER_API_KEY ) { return await serper_search(query, {num_results, tbs, filter, lang, country, location}); } return await google_search(