Skip to content

Commit

Permalink
fix #182 "Maximum call stack size exceeded", do not call sync callbac…
Browse files Browse the repository at this point in the history
…k function inside async lib call
  • Loading branch information
Stefan Seide committed Nov 27, 2018
1 parent d2f3caf commit 769ec8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/routes/apiv1.js
Original file line number Diff line number Diff line change
Expand Up @@ -962,7 +962,7 @@ function getKeysTree (req, res, next) {
});
} else {
delete keyData.fullKey;
callback();
async.setImmediate(callback);
}
}, function (err) {
if (err) {
Expand Down

0 comments on commit 769ec8c

Please sign in to comment.