mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-12-08 20:48:48 +00:00
More indentation
This commit is contained in:
@@ -3,11 +3,11 @@ var mongojs = require('mongojs');
|
||||
var db = mongojs(mongo_db_cred.config);
|
||||
|
||||
db.on('connected', function(err) {
|
||||
console.log("connected");
|
||||
console.log("connected");
|
||||
})
|
||||
|
||||
db.on('error',function(err) {
|
||||
console.log("\n" + new Date().toString() + "\n Database error: ", err);
|
||||
console.log("\n" + new Date().toString() + "\n Database error: ", err);
|
||||
});
|
||||
|
||||
module.exports = db;
|
||||
|
||||
Reference in New Issue
Block a user