STatus and msg were reversed on promote peer error

master
Daniel Berteaud 10 years ago
parent 8c5d67c5a6
commit fa99945aa9
  1. 4
      vroom.pl

@ -1574,8 +1574,8 @@ any '/api' => sub {
}
return $self->render(
json => {
msg => 'error',
status => $self->l('ERROR_OCCURRED')
status => 'error',
msg => $self->l('ERROR_OCCURRED')
}
);
}

Loading…
Cancel
Save