upd
This commit is contained in:
@@ -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" });
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user