Skip to content

Commit 91ba572

Browse files
committed
tidy
1 parent db55ba4 commit 91ba572

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/MetaCPAN/Web/Controller/Account/Favorite.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ sub add : Local : Args(0) {
2222
}
2323

2424
if ($json) {
25-
if ($res->{error}) {
25+
if ( $res->{error} ) {
2626
$c->res->code(400);
2727
$c->stash->{json}{success} = \0;
28-
$c->stash->{json}{error} = $res->{error};
28+
$c->stash->{json}{error} = $res->{error};
2929
}
3030
else {
3131
$c->stash->{json}{success} = \1;

0 commit comments

Comments
 (0)