Skip to content

Commit

Permalink
Update search.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
nickscamara committed Jan 2, 2025
1 parent 22ae173 commit 21bf89b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/api/src/controllers/v1/search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand All @@ -81,7 +81,6 @@ async function scrapeSearchResult(
statusCode: 0,
error: error.message,
},

};
}
}
Expand Down

0 comments on commit 21bf89b

Please sign in to comment.