Convert all remaining tabs by 2spaces
[vchess.git] / server / models / Variant.js
index 20bce4a..dccc89b 100644 (file)
@@ -9,17 +9,17 @@ var db = require("../utils/database");
 
 const VariantModel =
 {
-       getAll: function(callback)
-       {
-               db.serialize(function() {
-                       const query =
-                               "SELECT * " +
-                               "FROM Variants";
-                       db.all(query, callback);
-               });
-       },
+  getAll: function(callback)
+  {
+    db.serialize(function() {
+      const query =
+        "SELECT * " +
+        "FROM Variants";
+      db.all(query, callback);
+    });
+  },
 
-       //create, update, delete: directly in DB
+  //create, update, delete: directly in DB
 }
 
 module.exports = VariantModel;