add res.respond, fix linting

This commit is contained in:
Matteo Pagliazzi
2015-11-23 13:01:47 +01:00
parent a26f713e18
commit 349122c9a1
7 changed files with 14 additions and 4 deletions

View File

@@ -252,6 +252,7 @@ function _requestMaker (user, method, additionalSets) {
if (API_V === 'v3') {
return reject({
success: err.response.body.success,
code: err.status,
error: err.response.body.error,
message: err.response.body.message,