diff options
Diffstat (limited to 'install.coffee')
| -rw-r--r-- | install.coffee | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/install.coffee b/install.coffee index fa95f6f8..38e32b6f 100644 --- a/install.coffee +++ b/install.coffee @@ -10,18 +10,7 @@ db.get("user:admin", (err, res) -> password: hash, , -> console.log("Created admin user with password 'admin'") + process.exit() ) ) ) - -db.sismember("mts","mt:rest", (err,res) -> - if !res - db.hmset("mt:rest",{code: "rest", label: "Restaurant/Bar"}, -> - db.sadd("mts","mt:rest") - ) - db.hmset("mt:coff",{code: "rest", label: "Coffee Shop"}, -> - db.sadd("mts","mt:coff") - ) - console.log("Added merchant types") -) - |
