projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove test instructions, fix CORS for DELETE method
[vchess.git]
/
server
/
models
/
Challenge.js
diff --git
a/server/models/Challenge.js
b/server/models/Challenge.js
index
8adf3ca
..
de2818b
100644
(file)
--- a/
server/models/Challenge.js
+++ b/
server/models/Challenge.js
@@
-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() {
remove: function(id, uid)
{
db.serialize(function() {