From 90267dd2e904e25da93b4a76608e45049d2c794c Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Wed, 4 Feb 2015 23:10:29 +0100 Subject: [PATCH] HTTP code for set_persistent --- vroom.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vroom.pl b/vroom.pl index 04422a7..4902476 100755 --- a/vroom.pl +++ b/vroom.pl @@ -1526,8 +1526,10 @@ any '/api' => sub { return $self->render( json => { msg => $self->l('ERROR_OCCURRED'), + err => 'ERROR_OCCURRED', status => 'error' - } + }, + status => 503 ); } # Set/unset askForName