From 21bf89b6ccb51ded60b92c0443853adfdbfea44b Mon Sep 17 00:00:00 2001 From: Nicolas Date: Thu, 2 Jan 2025 19:57:51 -0300 Subject: [PATCH] Update search.ts --- apps/api/src/controllers/v1/search.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/api/src/controllers/v1/search.ts b/apps/api/src/controllers/v1/search.ts index 1e5c0881d..37b469c94 100644 --- a/apps/api/src/controllers/v1/search.ts +++ b/apps/api/src/controllers/v1/search.ts @@ -71,7 +71,7 @@ async function scrapeSearchResult( // Return a minimal document with SERP results at top level return { - title: searchResult.title, + title: searchResult.title, description: searchResult.description, url: searchResult.url, metadata: { @@ -81,7 +81,6 @@ async function scrapeSearchResult( statusCode: 0, error: error.message, }, - }; } }