From 2d1db959c1a7ad5d8d7d7998115985eb5f29a480 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joonas=20Kylm=C3=A4l=C3=A4?= Date: Tue, 22 Oct 2019 12:48:17 +0000 Subject: [PATCH] Bug 18795: (follow-up) Unify error message to be same across codebase In Koha/REST/V1/Patrons.pm the error message for not finding patron is "Patron not found" so let's use the same here. --- Koha/REST/V1/Checkouts.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/REST/V1/Checkouts.pm b/Koha/REST/V1/Checkouts.pm index 887714d22c..0c1afa26e8 100644 --- a/Koha/REST/V1/Checkouts.pm +++ b/Koha/REST/V1/Checkouts.pm @@ -199,7 +199,7 @@ sub delete_history { unless ($patrons->count) { return $c->render( status => 404, openapi => { - error => "Patron doesn't exist" + error => "Patron not found" }); } -- 2.17.1