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

(-)a/Koha/REST/V1/Libraries.pm (-4 / +2 lines)
Lines 73-82 sub get { Link Here
73
73
74
        return $c->render(
74
        return $c->render(
75
            status  => 200,
75
            status  => 200,
76
            openapi => $library->to_api
76
            openapi => $c->objects->to_api($library),
77
        );
77
        );
78
    }
78
    } catch {
79
    catch {
80
        $c->unhandled_exception($_);
79
        $c->unhandled_exception($_);
81
    };
80
    };
82
}
81
}
83
- 

Return to bug 36482