Skip to content
Snippets Groups Projects
Commit 5c18a57d authored by Eric Younger's avatar Eric Younger
Browse files

update

parent eab62d2e
No related branches found
No related tags found
No related merge requests found
Pipeline #49280 failed
...@@ -5,7 +5,7 @@ module.exports = class PersonDao extends Dao { ...@@ -5,7 +5,7 @@ module.exports = class PersonDao extends Dao {
super.query("select navn, alder, adresse from person", [], callback); super.query("select navn, alder, adresse from person", [], callback);
} }
deleteOne(id, callback){ deleteOne(json, callback){
super.query("delete from person where id=?", [json.id], callback); super.query("delete from person where id=?", [json.id], callback);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment