Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies to enable Greenkeeper 🌴 #97

Merged
merged 3 commits into from
Apr 13, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# feathers-knex

[![Greenkeeper badge](https://badges.greenkeeper.io/feathersjs/feathers-knex.svg)](https://greenkeeper.io/)

[![Build Status](https://travis-ci.org/feathersjs/feathers-knex.png?branch=master)](https://travis-ci.org/feathersjs/feathers-knex)
[![Code Climate](https://codeclimate.com/github/feathersjs/feathers-knex.png)](https://codeclimate.com/github/feathersjs/feathers-knex)
[![Test Coverage](https://codeclimate.com/github/feathersjs/feathers-knex/badges/coverage.svg)](https://codeclimate.com/github/feathersjs/feathers-knex/coverage)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"knex": "^0.12.0",
"mocha": "^3.0.0",
"rimraf": "^2.5.4",
"semistandard": "^9.1.0",
"semistandard": "^10.0.0",
"sqlite3": "^3.1.0"
}
}
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ class Service {

update (id, data, params) {
if (Array.isArray(data)) {
return Promise.reject('Not replacing multiple records. Did you mean `patch`?');
return Promise.reject(errors.BadRequest('Not replacing multiple records. Did you mean `patch`?'));
}

// NOTE (EK): First fetch the old record so
Expand Down