Bug 36863: (QA follow-up): tidy up code

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Victor Grousset/tuxayo 2024-06-03 20:11:24 +02:00 committed by Lucas Gass
parent 13e22ae52c
commit ffd03490ac
1 changed files with 1 additions and 2 deletions

View File

@ -76,8 +76,7 @@ sub call {
$error = "wrong_csrf_token";
}
}
}
elsif ( !exists $stateless_methods{$request_method} && !exists $stateful_methods{$request_method} ) {
} elsif ( !exists $stateless_methods{$request_method} && !exists $stateful_methods{$request_method} ) {
$error = sprintf "unknown or unsupported method %s", $request_method;
}