@@ -, +, @@ (such as /api/v1/patrons/{patron_id}) (such as /api/v1/patrons?firstname=something) --- Koha/REST/V1/Auth.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/Koha/REST/V1/Auth.pm +++ a/Koha/REST/V1/Auth.pm @@ -136,7 +136,7 @@ sub authenticate_api_request { my $user; - my $spec = $c->match->endpoint->pattern->defaults->{'openapi.op_spec'}; + my $spec = $c->openapi->spec; my $authorization = $spec->{'x-koha-authorization'}; my $authorization_header = $c->req->headers->authorization; --