Merge pull request #9 from szepeviktor/typos

Fix typos
This commit is contained in:
Nicolas
2024-04-17 15:52:35 -04:00
committed by GitHub
4 changed files with 8 additions and 8 deletions
+3 -3
View File
@@ -134,15 +134,15 @@ app.post("/v0/scrape", async (req, res) => {
filteredDocs.length
);
if (!success) {
// throw new Error("Failed to bill team, no subscribtion was found");
// throw new Error("Failed to bill team, no subscription was found");
// return {
// success: false,
// message: "Failed to bill team, no subscribtion was found",
// message: "Failed to bill team, no subscription was found",
// docs: [],
// };
return res
.status(402)
.json({ error: "Failed to bill, no subscribtion was found" });
.json({ error: "Failed to bill, no subscription was found" });
}
return res.json({
success: true,