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

(-)a/Koha/REST/V1/Patrons/Account.pm (-1 / +2 lines)
Lines 168-173 sub add_credit { Link Here
168
168
169
        $credit->discard_changes;
169
        $credit->discard_changes;
170
170
171
        $c->res->headers->location( $c->req->url->to_string . '/' . $credit->id );
172
171
        return $c->render(
173
        return $c->render(
172
            status  => 201,
174
            status  => 201,
173
            openapi => $c->objects->to_api($credit),
175
            openapi => $c->objects->to_api($credit),
174
- 

Return to bug 38932