From 774b4f42044d379feaddf71b39f56d31417b48d6 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Mon, 29 May 2023 10:59:53 -0300 Subject: [PATCH] Bug 33854: Fix typo in ImportBatchProfiles controller Signed-off-by: Tomas Cohen Arazi --- Koha/REST/V1/ImportBatchProfiles.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Koha/REST/V1/ImportBatchProfiles.pm b/Koha/REST/V1/ImportBatchProfiles.pm index ddac0eee4fb..2da99c6c175 100644 --- a/Koha/REST/V1/ImportBatchProfiles.pm +++ b/Koha/REST/V1/ImportBatchProfiles.pm @@ -67,8 +67,6 @@ sub add { my $body = $c->validation->param('body'); - $body = - return try { my $profile = Koha::ImportBatchProfile->new_from_api( $body )->store; return $c->render( @@ -142,4 +140,4 @@ sub delete { }; } -1; \ No newline at end of file +1; -- 2.34.1