From: Damyan Ivanov Date: Wed, 16 Feb 2022 17:07:33 +0000 (+0000) Subject: remove spurious parameter X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=794ec9dd5046f1c731fde2e6adc9288dc10c274f;p=lsl.git remove spurious parameter --- 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 ); }