Skip to content
Snippets Groups Projects
Commit f8e8e938 authored by Bjørnar Østtveit's avatar Bjørnar Østtveit
Browse files

bugfix

parent 7a0cb738
Branches master
No related tags found
No related merge requests found
Pipeline #22812 failed
......@@ -49,7 +49,7 @@ app.put("/person",(req,res) =>{
});
});
add.delete("/person",(reg,res) =>{
app.delete("/person",(reg,res) =>{
console.log("Fikk slettet en person");
personDao.deleteOne(reg.body,(status, data)=>{
res.status(status);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment