From 6e5258d0740596390d912f87e4936f23c01b3eaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrej=20Rama=C5=A1euski?= <andrej@x2.cz> Date: Sat, 13 Nov 2021 13:57:19 +0100 Subject: [PATCH] Bugfix --- .gitlab-ci.yml | 2 +- lib/CF2022/Controller/Orders.pm | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 245985a..b67667f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,7 +2,7 @@ image: docker:20.10.9 variables: DOCKER_TLS_CERTDIR: "/certs" - IMAGE_VER: 0.6.0 + IMAGE_VER: 0.6.1 services: - docker:20.10.9-dind diff --git a/lib/CF2022/Controller/Orders.pm b/lib/CF2022/Controller/Orders.pm index ec755d6..6ea3a83 100644 --- a/lib/CF2022/Controller/Orders.pm +++ b/lib/CF2022/Controller/Orders.pm @@ -46,12 +46,12 @@ sub create ($c ) { push @answers, ( { - question_id => $c->config->{pretix_qid_sso}, - response => $claims->{sub}, + question => $c->config->{pretix_qid_sso}, + answer => $claims->{sub}, }, { - question_id => $c->config->{pretix_qid_region}, - response => $group->{region}, + question => $c->config->{pretix_qid_region}, + answer => $group->{region}, }, ); -- GitLab