Skip to content

Commit

Permalink
Merge branch 'master' into subscription-hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
wyattjoh authored Dec 20, 2017
2 parents b46b392 + 998cb8d commit 0a79393
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@
"babel-preset-es2015": "6.24.1",
"babel-preset-react": "^6.23.0",
"bcryptjs": "^2.4.3",
"body-parser": "1.18.2",
"bowser": "^1.7.2",
"cli-table": "^0.3.1",
"clipboard": "^1.7.1",
Expand Down
3 changes: 1 addition & 2 deletions routes/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
const accepts = require('accepts');
const apollo = require('graphql-server-express');
const authentication = require('../middleware/authentication');
const bodyParser = require('body-parser');
const cookieParser = require('cookie-parser');
const debug = require('debug')('talk:routes');
const enabled = require('debug').enabled;
Expand Down Expand Up @@ -82,7 +81,7 @@ router.use('/embed', staticTemplate, require('./embed'));
router.use(cookieParser());

// Parse the body json if it's there.
router.use(bodyParser.json());
router.use(express.json());

const passportDebug = require('debug')('talk:passport');

Expand Down

0 comments on commit 0a79393

Please sign in to comment.