From 7afc89e8166c4331371e6a9cba49a4848f6d03ef 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 (cherry picked from commit c84f06ec625a6d11caeb01a27cf8f61ff7430140) Signed-off-by: Matt Blenkinsop --- 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 ddac0eee4f..2da99c6c17 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.39.5