Nick:
This commit is contained in:
@@ -127,5 +127,6 @@ export async function mapController(
|
|||||||
return res.status(200).json({
|
return res.status(200).json({
|
||||||
success: true,
|
success: true,
|
||||||
links: linksToReturn,
|
links: linksToReturn,
|
||||||
|
scrape_id: req.body.origin?.includes("website") ? id : undefined,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -247,6 +247,7 @@ export type MapResponse =
|
|||||||
| {
|
| {
|
||||||
success: true;
|
success: true;
|
||||||
links: string[];
|
links: string[];
|
||||||
|
scrape_id?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type CrawlStatusParams = {
|
export type CrawlStatusParams = {
|
||||||
|
|||||||
Reference in New Issue
Block a user