Skip to content

Commit

Permalink
Fixed variable name.
Browse files Browse the repository at this point in the history
  • Loading branch information
petersirka committed Oct 28, 2024
1 parent 99274df commit ed93b75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -1030,7 +1030,7 @@ Controller.prototype.$route = function() {
switch (ctrl.datatype) {
case 'json':
val = ctrl.payload.toString('utf8');
ctrl.body = val ? F.def.parsers.json(body) : null;
ctrl.body = val ? F.def.parsers.json(val) : null;
break;
case 'urlencoded':
val = ctrl.payload.toString('utf8');
Expand Down

0 comments on commit ed93b75

Please sign in to comment.