Skip to content

Commit

Permalink
fix(backend/app.js): fixes database initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
dec0dOS committed Apr 16, 2021
1 parent f90ce5c commit 0aa2eed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ if (
}

initAdmin().then(function (admin) {
db.defaults({ users: [admin], networks: {} }).write();
db.defaults({ users: [admin], networks: [] }).write();
});

const routerAPI = express.Router();
Expand Down

0 comments on commit 0aa2eed

Please sign in to comment.