@@ -, +, @@ deleting history --- Koha/REST/V1/Checkouts.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/Koha/REST/V1/Checkouts.pm +++ a/Koha/REST/V1/Checkouts.pm @@ -197,14 +197,14 @@ sub delete_history { 'me.borrowernumber' => $patron_id }); - $patrons->anonymise_issue_history; - unless ($patrons->count) { return $c->render( status => 404, openapi => { error => "Patron doesn't exist" }); } + $patrons->anonymise_issue_history; + return $c->render( status => 204, openapi => "" ); } --