Use same JSON fields for failure and success (#1711)
This commit is contained in:
parent
b8977ffb2f
commit
259f9d8d94
|
@ -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
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user