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( return $self->render(
json => { json => {
msg => 'error', status => 'error',
status => $self->l('ERROR_OCCURRED') msg => $self->l('ERROR_OCCURRED')
} }
); );
} }

Loading…
Cancel
Save