Small change.

This commit is contained in:
Daniel
2022-06-05 21:48:22 +04:30
parent b3e6e75f90
commit 32cb7e80c8
2 changed files with 1 additions and 5 deletions
+1 -2
View File
@@ -52,8 +52,7 @@ app.post('/api', async (req, res) => {
await insertDoc(req.body);
res.send("DONE!");
const dataResult = await getData(pageToVisit, req.body._id);
getData(pageToVisit, req.body._id);
} catch (err) {
console.log(err);
insertDoc(req.body);