View | Details | Raw Unified | Return to bug 22522
Collapse All | Expand All

(-)a/Koha/REST/V1/Auth.pm (-2 / +1 lines)
Lines 130-136 sub authenticate_api_request { Link Here
130
130
131
    my $user;
131
    my $user;
132
132
133
    my $spec = $c->match->endpoint->pattern->defaults->{'openapi.op_spec'};
133
    my $spec = $c->openapi->spec;
134
    my $authorization = $spec->{'x-koha-authorization'};
134
    my $authorization = $spec->{'x-koha-authorization'};
135
135
136
    my $authorization_header = $c->req->headers->authorization;
136
    my $authorization_header = $c->req->headers->authorization;
137
- 

Return to bug 22522