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

(-)a/Koha/REST/V1/ImportBatchProfiles.pm (-4 / +1 lines)
Lines 67-74 sub add { Link Here
67
67
68
    my $body = $c->validation->param('body');
68
    my $body = $c->validation->param('body');
69
69
70
    $body =
71
72
    return try {
70
    return try {
73
        my $profile = Koha::ImportBatchProfile->new_from_api( $body )->store;
71
        my $profile = Koha::ImportBatchProfile->new_from_api( $body )->store;
74
        return $c->render(
72
        return $c->render(
Lines 142-145 sub delete { Link Here
142
    };
140
    };
143
}
141
}
144
142
145
1;
143
1;
146
- 

Return to bug 33854