Commit 2af68159 by Ben Drucker

Fix linting issues

parent b252abc6
...@@ -20,7 +20,7 @@ module.exports = function (client) { ...@@ -20,7 +20,7 @@ module.exports = function (client) {
}, options)) }, options))
.bind(this) .bind(this)
.then(utils.cast) .then(utils.cast)
.catch(utils.isUnknownRecord, function (err) { .catch(utils.isUnknownRecord, function () {
throw new this.NotFoundError('Company not found'); throw new this.NotFoundError('Company not found');
}); });
}); });
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
var assert = require('assert'); var assert = require('assert');
var _ = require('lodash'); var _ = require('lodash');
var Promise = require('bluebird'); var Promise = require('bluebird');
var utils = require('./utils') var utils = require('./utils');
module.exports = function (client) { module.exports = function (client) {
function Person (data) { function Person (data) {
...@@ -21,7 +21,7 @@ module.exports = function (client) { ...@@ -21,7 +21,7 @@ module.exports = function (client) {
}, options)) }, options))
.bind(this) .bind(this)
.then(utils.cast) .then(utils.cast)
.catch(utils.isUnknownRecord, function (err) { .catch(utils.isUnknownRecord, function () {
throw new this.NotFoundError('Person not found'); throw new this.NotFoundError('Person not found');
}); });
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment