From e0d9bbb214181e4597e98ab3e8ce7c236961b3a9 Mon Sep 17 00:00:00 2001 From: oivindhl <oivindhl@stud.ntnu.no> Date: Tue, 25 Sep 2018 00:08:45 +0200 Subject: [PATCH] secondTest --- dao/persondao.js | 1 + 1 file changed, 1 insertion(+) diff --git a/dao/persondao.js b/dao/persondao.js index 8c392f1..3bca0db 100644 --- a/dao/persondao.js +++ b/dao/persondao.js @@ -26,6 +26,7 @@ module.exports = class PersonDao extends Dao { var val = [json.navn, json.adresse, json.alder, id]; super.query( "update person set navn=?, adresse=?, alder=? where id=?", + val, callback ) } -- GitLab