0

Update index.ts

This commit is contained in:
Nicolas 2024-04-20 14:05:01 -07:00
parent 408c7a479f
commit 43c2e877e7

View File

@ -232,7 +232,7 @@ app.post("/v0/crawl", async (req, res) => {
});
app.post("/v0/crawlWebsitePreview", async (req, res) => {
try {
const { success, team_id, error, status } = await authenticateUser(req, res, RateLimiterMode.Crawl);
const { success, team_id, error, status } = await authenticateUser(req, res, RateLimiterMode.Preview);
if (!success) {
return res.status(status).json({ error });
}