@@ -, +, @@ $ kshell k$ prove t/db_dependent/api/v1/clubs_holds.t --- Koha/REST/V1/Clubs/Holds.pm | 2 ++ 1 file changed, 2 insertions(+) --- a/Koha/REST/V1/Clubs/Holds.pm +++ a/Koha/REST/V1/Clubs/Holds.pm @@ -121,6 +121,8 @@ sub add { default_patron_home => $default_patron_home }); + $c->res->headers->location( $c->req->url->to_string . '/' ); + return $c->render( status => 201, openapi => $club_hold->to_api --