Skip to content

Commit efbca83

Browse files
author
Joe Alves
committed
Tweaks to match conventions
1 parent 3634bba commit efbca83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

generated/server/db/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ require('./models');
1818

1919
// Modifying startDbPromise to return the db object to have an access to it when .then on startDbPromise
2020
var startDbPromise = new Promise(function (resolve, reject) {
21-
db.on('open', function() {
22-
resolve(db)
21+
db.on('open', function () {
22+
resolve(db);
2323
});
2424
db.on('error', reject);
2525
});

0 commit comments

Comments
 (0)