diff --git a/dao/persondao.js b/dao/persondao.js
index 426c2911a8fc9171fa4eaaac88f759a5ee11d5eb..1703339f3c063c70e64ed820934ae7d52eca8203 100644
--- a/dao/persondao.js
+++ b/dao/persondao.js
@@ -21,21 +21,22 @@ module.exports = class PersonDao extends Dao {
       callback
     );
   }
-};
 
-deleteOne(id, callback) {
-    super.query(
-        "DeLeTe FrOm person WhErE id = ?",
-        {id},
-        callback
-    );
-}
 
-updateOne(json, callback) {
-    var val = [json.navn, json.adresse, json.id];
-    super.query(
-        "UpDaTe person SeT navn = ?, adresse = ? WhErE id = ?",
-        val,
-        callback
-    );
-}
\ No newline at end of file
+    deleteOne(id, callback) {
+        super.query(
+            "DeLeTe FrOm person WhErE id = ?",
+            [id],
+            callback
+        );
+    }
+
+    updateOne(json, callback) {
+        var val = [json.navn, json.adresse, json.id];
+        super.query(
+            "UpDaTe person SeT navn = ?, adresse = ? WhErE id = ?",
+            val,
+            callback
+        );
+    }
+};
\ No newline at end of file