projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Reset last move when cancelling half move
[vchess.git]
/
server
/
models
/
Variant.js
diff --git
a/server/models/Variant.js
b/server/models/Variant.js
index
d991107
..
85abf5a
100644
(file)
--- a/
server/models/Variant.js
+++ b/
server/models/Variant.js
@@
-7,10
+7,8
@@
const db = require("../utils/database");
* description: varchar
*/
-const VariantModel =
-{
- getAll: function(callback)
- {
+const VariantModel = {
+ getAll: function(callback) {
db.serialize(function() {
const query =
"SELECT * " +