Skip to content
Snippets Groups Projects
Verified Commit 71e30553 authored by Andrej Ramašeuski's avatar Andrej Ramašeuski
Browse files

Bugfix

parent 0aea2218
No related branches found
No related tags found
No related merge requests found
Pipeline #19937 passed
......@@ -2,7 +2,7 @@ image: docker:latest
variables:
DOCKER_TLS_CERTDIR: "/certs"
IMAGE_VER: 0.21.0
IMAGE_VER: 0.21.1
services:
- docker:dind
......
......@@ -94,7 +94,7 @@ sub create ($c ) {
PRODUCT:
foreach my $product ( @{ $args->{products} } ) {
return $c->error(400, "Běž žebrat jinam, Pando") if $product->{price} < $c->config->{min_fee};
return $c->error(400, "Běž žebrat jinam, Pando") if $product->{price} && $product->{price} < $c->config->{min_fee};
$product->{id} = $c->mapped_product_id($product->{id});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment