This commit is contained in:
2023-10-16 12:23:31 +05:00
parent 826ac1f621
commit 4c83933741
8 changed files with 435 additions and 95 deletions
+1 -2
View File
@@ -4,8 +4,7 @@ import Company from "../models/Company.js";
const appRouter = Router();
appRouter.post("/", async (_req, res) => {
const companies = await Company.find();
console.log(companies);
await Company.find();
res.json({ route: "app" });
});