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

Traceing

parent 57cb41af
No related branches found
No related tags found
No related merge requests found
Pipeline #11114 passed
......@@ -2,7 +2,7 @@ image: docker:20.10.9
variables:
DOCKER_TLS_CERTDIR: "/certs"
IMAGE_VER: 0.11.0
IMAGE_VER: 0.11.1
services:
- docker:20.10.9-dind
......
......@@ -99,8 +99,6 @@ sub create ($c ) {
}
}
$product->{id} = $c->mapped_product_id($product->{id});
push @products, $product;
}
......@@ -134,7 +132,7 @@ sub create ($c ) {
foreach my $product ( @products ) {
my $item = {
item => $product->{id},
item => $c->mapped_product_id($product->{id}),
variation => $product->{variation},
attendee_name => $args->{name},
price => $product->{price},
......@@ -146,6 +144,7 @@ sub create ($c ) {
push @{ $order->{positions} }, $item;
}
$c->trace($order);
# odeslani do pretixu
my $ua = Mojo::UserAgent->new;
......
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