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

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Victor Grousset/tuxayo 2024-06-03 20:11:24 +02:00 committed by Katrin Fischer
parent e79d407340
commit 6503787f13
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
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;
}