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

(-)a/Koha/REST/V1/ERM/EHoldings/Packages/EBSCO.pm (-9 / +8 lines)
Lines 116-122 sub get { Link Here
116
          );
116
          );
117
    }
117
    }
118
    catch {
118
    catch {
119
        $c->unhandled_exception($_);
119
        return $c->unhandled_exception($_);
120
    };
120
    };
121
}
121
}
122
122
Lines 138-143 sub edit { Link Here
138
                    isSelected => $is_selected,
138
                    isSelected => $is_selected,
139
                }
139
                }
140
            );
140
            );
141
142
            return $c->render(
143
                status  => 200,
144
                openapi => { is_selected => $is_selected } # We don't want to refetch the resource to make sure it has been updated
145
            );
141
        }
146
        }
142
        catch {
147
        catch {
143
            if ( blessed $_ ) {
148
            if ( blessed $_ ) {
Lines 150-165 sub edit { Link Here
150
                }
155
                }
151
            }
156
            }
152
157
153
            $c->unhandled_exception($_);
158
            return $c->unhandled_exception($_);
154
        };
159
        };
155
156
        return $c->render(
157
            status  => 200,
158
            openapi => { is_selected => $is_selected } # We don't want to refetch the resource to make sure it has been updated
159
        );
160
    }
160
    }
161
    catch {
161
    catch {
162
        $c->unhandled_exception($_);
162
        return $c->unhandled_exception($_);
163
    };
163
    };
164
}
164
}
165
165
166
- 

Return to bug 33482