From 794ec9dd5046f1c731fde2e6adc9288dc10c274f Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Wed, 16 Feb 2022 17:07:33 +0000 Subject: [PATCH] remove spurious parameter --- lib/App/LazyShoppingList/API/v1.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/App/LazyShoppingList/API/v1.pm b/lib/App/LazyShoppingList/API/v1.pm index cc8c163..3e3565b 100644 --- a/lib/App/LazyShoppingList/API/v1.pm +++ b/lib/App/LazyShoppingList/API/v1.pm @@ -195,7 +195,7 @@ put '/list/:list_id/:item_id' => sub { { unless ($version == $item->version) { $dbh->txn_commit; - return exception 409, exception => + return exception 409, sprintf( 'Outdated version (current is %d)', $item->version ); } -- 2.39.5