We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db55ba4 commit 91ba572Copy full SHA for 91ba572
lib/MetaCPAN/Web/Controller/Account/Favorite.pm
@@ -22,10 +22,10 @@ sub add : Local : Args(0) {
22
}
23
24
if ($json) {
25
- if ($res->{error}) {
+ if ( $res->{error} ) {
26
$c->res->code(400);
27
$c->stash->{json}{success} = \0;
28
- $c->stash->{json}{error} = $res->{error};
+ $c->stash->{json}{error} = $res->{error};
29
30
else {
31
$c->stash->{json}{success} = \1;
0 commit comments