Remove explicit undef returns
This commit is contained in:
parent
06e89c9199
commit
e886eb2ce6
3 changed files with 3 additions and 3 deletions
|
@ -50,7 +50,7 @@ sub startup {
|
|||
return $user->id;
|
||||
}
|
||||
}
|
||||
return undef;
|
||||
return;
|
||||
},
|
||||
});
|
||||
|
||||
|
|
|
@ -86,7 +86,7 @@ sub post_login {
|
|||
} elsif ( defined $user_result->organisation_id ) {
|
||||
$display_name = $user_result->organisation->name;
|
||||
} else {
|
||||
return undef;
|
||||
return;
|
||||
}
|
||||
|
||||
return $c->render( json => {
|
||||
|
|
|
@ -72,7 +72,7 @@ sub post_account {
|
|||
} elsif ( defined $user_result->organisation_id ) {
|
||||
$display_name = $user_result->organisation->name;
|
||||
} else {
|
||||
return undef;
|
||||
return;
|
||||
}
|
||||
|
||||
return $c->render( json => {
|
||||
|
|
Reference in a new issue