View | Details | Raw Unified | Return to bug 34365
Collapse All | Expand All

(-)a/Koha/REST/V1/Holds.pm (-1 / +13 lines)
Lines 317-322 sub delete { Link Here
317
    }
317
    }
318
318
319
    return try {
319
    return try {
320
321
        my $overrides = $c->stash('koha.overrides');
322
323
        if ( $overrides->{'cancellation-request-flow'} && $hold->is_waiting ) {
324
325
            $hold->add_cancellation_request;
326
327
            return $c->render(
328
                status  => 202,
329
                openapi => q{},
330
            );
331
        }
332
320
        $hold->cancel;
333
        $hold->cancel;
321
334
322
        return $c->render(
335
        return $c->render(
323
- 

Return to bug 34365