Skip to content
Snippets Groups Projects
Commit 0591ef07 authored by Jingyi Li's avatar Jingyi Li
Browse files

test1

parent 3cf0d28d
No related branches found
No related tags found
No related merge requests found
Pipeline #22743 failed
...@@ -41,7 +41,7 @@ app.post("/person", (req, res) => { ...@@ -41,7 +41,7 @@ app.post("/person", (req, res) => {
}); });
}); });
app.post("/person/delete",(req,res)=> { app.post("/person/delete1",(req,res)=> {
console.log("Fikk POST-request fra klienten"); console.log("Fikk POST-request fra klienten");
personDao.deleteOne(req.body, (status,data) =>{ personDao.deleteOne(req.body, (status,data) =>{
res.status(status); res.status(status);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment