Skip to content
Snippets Groups Projects
Commit e723a409 authored by Eirik Plahte's avatar Eirik Plahte
Browse files

.

parent 3ab0a7ab
No related branches found
No related tags found
No related merge requests found
Pipeline #49733 passed
...@@ -31,12 +31,12 @@ module.exports = class PersonDao extends Dao { ...@@ -31,12 +31,12 @@ module.exports = class PersonDao extends Dao {
); );
} }
deleteOne(id, callback) { deleteOne(id, callback) {
super.query( super.query(
"DELETE FROM person WHERE id = ?" "DELETE FROM person WHERE id = ?", [id], callback
[id], )
callback
);
} }
}; };
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment