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

(-)a/Koha/REST/V1/ItemTypes.pm (-2 / +1 lines)
Lines 36-42 sub list { Link Here
36
36
37
    return try {
37
    return try {
38
        my $itemtypes_set = Koha::ItemTypes->new;
38
        my $itemtypes_set = Koha::ItemTypes->new;
39
        my $itemtypes     = $c->objects->search( $itemtypes_set, { embed => $c->stash('koha.embed') } );
39
        my $itemtypes     = $c->objects->search( $itemtypes_set );
40
40
41
        return $c->render( status => 200, openapi => $itemtypes );
41
        return $c->render( status => 200, openapi => $itemtypes );
42
    } catch {
42
    } catch {
43
- 

Return to bug 34008