From ff064a6f93e9b343891745c7f263ed97ac6f5dd1 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Tue, 14 Nov 2023 11:57:40 -0500 Subject: [PATCH] Bug 30070: (QA follow-up) Make qa script happy Signed-off-by: Ray Delahunty Signed-off-by: Kyle M Hall --- Koha/REST/V1/Acquisitions/Vendor/Edifact/Files.pm | 3 +-- Koha/Schema/Result/EdifactMessage.pm | 9 +++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/Koha/REST/V1/Acquisitions/Vendor/Edifact/Files.pm b/Koha/REST/V1/Acquisitions/Vendor/Edifact/Files.pm index fe9e2f3ed1c..d672038e5d3 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 9bfd3c51ab4..225481ed777 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'; } -- 2.43.0