Use same JSON fields for failure and success (#1711)

This commit is contained in:
Clément OUDOT 2019-04-13 15:23:40 +02:00
parent b8977ffb2f
commit 259f9d8d94

View File

@ -9,7 +9,7 @@
# #
package Lemonldap::NG::Portal::Main::Run; package Lemonldap::NG::Portal::Main::Run;
our $VERSION = '2.0.3'; our $VERSION = '2.0.4';
package Lemonldap::NG::Portal::Main; package Lemonldap::NG::Portal::Main;
@ -240,7 +240,7 @@ sub do {
$req, $req,
{ {
result => 1, result => 1,
code => $err, error => $err,
id => $req->id id => $req->id
} }
); );