Update index.ts

This commit is contained in:
Nicolas 2024-04-18 11:01:24 -07:00
parent 0f7ab4107f
commit 3e9e24aaf1
1 changed files with 1 additions and 1 deletions

View File

@ -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 });
}