Fix typos

This commit is contained in:
Viktor Szépe
2024-04-17 05:13:27 +00:00
parent a12f4d96a2
commit 34ab21db59
4 changed files with 8 additions and 8 deletions
+3 -3
View File
@@ -129,15 +129,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,