mirror of
https://github.com/mendableai/firecrawl.git
synced 2024-11-16 11:42:24 +08:00
Update search.ts
This commit is contained in:
parent
3d18f2f7a0
commit
e7d385ad32
|
@ -138,12 +138,12 @@ export async function searchController(req: Request, res: Response) {
|
|||
logJob({
|
||||
success: result.success,
|
||||
message: result.error,
|
||||
num_docs: 1,
|
||||
docs: [result.data],
|
||||
num_docs: result.data.length,
|
||||
docs: result.data,
|
||||
time_taken: timeTakenInSeconds,
|
||||
team_id: team_id,
|
||||
mode: "search",
|
||||
url: req.body.url,
|
||||
url: req.body.query,
|
||||
crawlerOptions: crawlerOptions,
|
||||
pageOptions: pageOptions,
|
||||
origin: origin,
|
||||
|
|
Loading…
Reference in New Issue
Block a user