diff --git a/Koha/REST/V1/Acquisitions/Vendor/Edifact/Files.pm b/Koha/REST/V1/Acquisitions/Vendor/Edifact/Files.pm index fe9e2f3ed1..d672038e5d 100644 --- a/Koha/REST/V1/Acquisitions/Vendor/Edifact/Files.pm +++ b/Koha/REST/V1/Acquisitions/Vendor/Edifact/Files.pm @@ -56,8 +56,7 @@ sub list { status => 200, openapi => $files, ); - } - catch { + } catch { $c->unhandled_exception($_); }; } diff --git a/Koha/Schema/Result/EdifactMessage.pm b/Koha/Schema/Result/EdifactMessage.pm index 9bfd3c51ab..225481ed77 100644 --- a/Koha/Schema/Result/EdifactMessage.pm +++ b/Koha/Schema/Result/EdifactMessage.pm @@ -202,9 +202,18 @@ __PACKAGE__->add_columns( '+deleted' => { is_boolean => 1 }, ); +=head2 koha_objects_class + +=cut + sub koha_objects_class { 'Koha::Edifact::Files'; } + +=head2 koha_object_class + +=cut + sub koha_object_class { 'Koha::Edifact::File'; }