Skip to content

Commit

Permalink
fix issue with empty json
Browse files Browse the repository at this point in the history
  • Loading branch information
brettneese committed Nov 6, 2015
1 parent 9e84906 commit d9b6b0b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/responses/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ module.exports.buildResponse = function (req, res, data, options, config) {
data = undefined;
}

} else {
json = data;
}


Expand Down

0 comments on commit d9b6b0b

Please sign in to comment.