Skip to content
Snippets Groups Projects
Commit 0ccfde8a authored by Sara Hjelle's avatar Sara Hjelle
Browse files

Update server.js

parent 4cfc40d8
No related branches found
No related tags found
No related merge requests found
Pipeline #22432 passed
......@@ -41,4 +41,9 @@ app.post("/person", (req, res) => {
});
});
app.put("/person/update", (req, res) => {
console.log("Skal oppdate en person");
personDao.getOne(id, callback)
})
var server = app.listen(8080);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment