}
return try {
my $overrides = $c->stash('koha.overrides');
if ( $overrides->{'cancellation-request-flow'} && $hold->is_waiting ) {
$hold->add_cancellation_request;
return $c->render(
status => 202,
openapi => q{},
);
$hold->cancel;
-