mirror of
https://github.com/mendableai/firecrawl.git
synced 2024-11-16 11:42:24 +08:00
Update index.ts
This commit is contained in:
parent
0f7ab4107f
commit
3e9e24aaf1
|
@ -164,7 +164,7 @@ app.post("/v0/scrape", async (req, res) => {
|
|||
|
||||
app.post("/v0/crawl", async (req, res) => {
|
||||
try {
|
||||
const { success, team_id, error, status } = await authenticateUser(req, res, "scrape");
|
||||
const { success, team_id, error, status } = await authenticateUser(req, res, "crawl");
|
||||
if (!success) {
|
||||
return res.status(status).json({ error });
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user