Skip to content
Snippets Groups Projects
Commit 1c98d18a authored by Jakob Lønnerød Madsen's avatar Jakob Lønnerød Madsen
Browse files

Update persondao.js

parent 4c6cb9fe
No related branches found
No related tags found
No related merge requests found
Pipeline #49947 failed
......@@ -21,12 +21,12 @@ module.exports = class PersonDao extends Dao {
callback
);
}
};
deleteOne(id, callback) {
super.query(
"DeLeTe FrOm person WhErE id = ?",
{id},
[id],
callback
);
}
......@@ -39,3 +39,4 @@ updateOne(json, callback) {
callback
);
}
};
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment