We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3df272d commit d0596e1Copy full SHA for d0596e1
src/server/router/plural.js
@@ -253,7 +253,6 @@ module.exports = (db, name) => {
253
function update (req, res, next) {
254
const id = req.params.id
255
let chain = db.get(name)
256
- console.log(req.body)
257
258
chain = req.method === 'PATCH'
259
? chain.updateById(id, req.body)
test/server/plural.js
@@ -551,7 +551,7 @@ describe('Server', () => {
551
})
552
553
describe('PUT /:resource/:id', () => {
554
- it.only('should respond with json and replace resource', (done) => {
+ it('should respond with json and replace resource', (done) => {
555
var post = {id: 1, booleanValue: true, integerValue: 1}
556
request(server)
557
.put('/posts/1')
0 commit comments