Skip to content

Commit

Permalink
fix(database): add default value to options
Browse files Browse the repository at this point in the history
  • Loading branch information
hawser86 authored and Adam Brunner committed Aug 3, 2016
1 parent a041724 commit 5aedca5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/database/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

class Database {

constructor(mongoose, uri, options) {
constructor(mongoose, uri, options = {}) {
this._mongoose = mongoose;
this._uri = uri;
this._options = options;
Expand Down

0 comments on commit 5aedca5

Please sign in to comment.