Remove test instructions, fix CORS for DELETE method
[vchess.git] / server / models / Challenge.js
index 8adf3ca..de2818b 100644 (file)
@@ -126,15 +126,6 @@ const ChallengeModel =
                });
        },
 
-  testfunc: function()
-  {
-    db.serialize(function() {
-      db.run("DELETE * FROM TableTest", (err,ret) => {
-        console.log(ret);
-      });
-    });
-  },
-
        remove: function(id, uid)
        {
                db.serialize(function() {