From f2956d6250685d952f754821f3f5b92ba5601dc7 Mon Sep 17 00:00:00 2001
From: jonbergq <jon.bergquist3@gmail.com>
Date: Thu, 26 Sep 2019 11:29:26 +0200
Subject: [PATCH] test6 skalFeile

---
 dao/persondao.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dao/persondao.js b/dao/persondao.js
index 5db06c4..08d754c 100644
--- a/dao/persondao.js
+++ b/dao/persondao.js
@@ -29,7 +29,7 @@ module.exports = class PersonDao extends Dao {
 //Lagt inn Update
   updateOne(json, callback){
     var val = [json.navn, json.adresse, json.alder, json.id];
-    super.query("update person set navn=?, adresse=?, alder=? where id=?", val, callback);
+    super.query("update person set navn=?, alder=?, adresse=?  where id=?", val, callback);
   }
 };
 
-- 
GitLab