Bug 37622: Remove location from 2 preservation 'update' routes

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 1a2a7e4619)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
Jonathan Druart 2025-09-15 10:41:49 +02:00 committed by Paul Derscheid
parent 3c55573d4f
commit 428ea2baf6
No known key found for this signature in database
GPG Key ID: C25F9FD44CED595B
2 changed files with 0 additions and 2 deletions

View File

@ -154,7 +154,6 @@ sub update {
$processing->set_from_api($body)->store;
$processing->attributes($attributes);
$c->res->headers->location( $c->req->url->to_string . '/' . $processing->processing_id );
return $c->render(
status => 200,
openapi => $c->objects->to_api($processing),

View File

@ -151,7 +151,6 @@ sub update {
$train->set_from_api($body)->store;
$c->res->headers->location( $c->req->url->to_string . '/' . $train->train_id );
return $c->render(
status => 200,
openapi => $c->objects->to_api($train),