diff --git a/client/coral-admin/package.json b/client/coral-admin/package.json index 4165e14ce..ced6a3512 100644 --- a/client/coral-admin/package.json +++ b/client/coral-admin/package.json @@ -4,7 +4,7 @@ "description": "", "main": "index.js", "scripts": { - "build": "./node_modules/.bin/webpack --config webpack.config.js --watch", + "build": "./node_modules/.bin/webpack --config webpack.config.js", "start": "./node_modules/.bin/webpack-dev-server --config webpack.config.dev.js --inline --hot --content-base public --port 3142" }, "keywords": [], diff --git a/routes/api/queue/index.js b/routes/api/queue/index.js index bf5b8c480..ffaa5c1e1 100644 --- a/routes/api/queue/index.js +++ b/routes/api/queue/index.js @@ -3,13 +3,14 @@ const express = require('express'); const router = express.Router(); const defaultComment = { + _id: '23423423432aa', body: 'This is a comment!', name: 'John Doe', createdAt: Date.now() }; router.get('/', (req, res) => { - const status = req.query.type || 'pending'; + const status = req.query.type; res.json([Object.assign({}, defaultComment, {status})]); });