Skip to content

Commit

Permalink
Use set properties plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Buczynski committed Jul 17, 2016
1 parent 17b4ff5 commit ec17d90
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions app/services/db.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ let config = require('../config');
*/
mongoose.Promise = require('bluebird');
mongoose.plugin(require('meanie-mongoose-to-json'));
mongoose.plugin(require('meanie-mongoose-set-properties'));

/**
* Settings
Expand Down
1 change: 0 additions & 1 deletion config/dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ module.exports = {
GITHUB_USER: '',
GITHUB_REPO: '',
GITHUB_TOKEN: '',
GITHUB_USER_AGENT: '',

//Error handling middleware
ERROR_MIDDLEWARE: [
Expand Down
1 change: 0 additions & 1 deletion config/prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ module.exports = {
GITHUB_USER: '',
GITHUB_REPO: '',
GITHUB_TOKEN: '',
GITHUB_USER_AGENT: '',

//Error handling middleware
ERROR_MIDDLEWARE: [
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
"meanie-express-github-service": "^1.0.0",
"meanie-express-jwt-service": "^1.0.1",
"meanie-mongoose-only-id": "^1.0.0",
"meanie-mongoose-set-properties": "^1.0.0",
"meanie-mongoose-to-json": "^1.0.1",
"meanie-multer-mime-types-filter": "^1.0.0",
"meanie-passport-refresh-strategy": "^1.0.0",
Expand Down

0 comments on commit ec17d90

Please sign in to comment.