Skip to content

Commit

Permalink
dynamic response length in utils
Browse files Browse the repository at this point in the history
  • Loading branch information
dottorblaster committed Aug 6, 2015
1 parent f630098 commit 669824d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils.js
Expand Up @@ -10,7 +10,7 @@ var Utils = {
},
dilate: function(req, res, s) {
if (req.query.hasOwnProperty('big') && req.query.big == 1) {
res.response = res.response.substr(0, 3) + s + res.response.substr(3, 7);
res.response = res.response.substr(0, 3) + s + res.response.substr(3, res.response.length-1);
}
return this;
}
Expand Down

0 comments on commit 669824d

Please sign in to comment.