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

(-)a/Koha/REST/V1/Auth.pm (-2 / +1 lines)
Lines 136-142 sub authenticate_api_request { Link Here
136
136
137
    my $user;
137
    my $user;
138
138
139
    my $spec = $c->match->endpoint->pattern->defaults->{'openapi.op_spec'};
139
    my $spec = $c->openapi->spec;
140
    my $authorization = $spec->{'x-koha-authorization'};
140
    my $authorization = $spec->{'x-koha-authorization'};
141
141
142
    my $authorization_header = $c->req->headers->authorization;
142
    my $authorization_header = $c->req->headers->authorization;
143
- 

Return to bug 22522