Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cf-web-api
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
KS Pardubický kraj
cf-web-api
Commits
71e30553
Verified
Commit
71e30553
authored
5 months ago
by
Andrej Ramašeuski
Browse files
Options
Downloads
Patches
Plain Diff
Bugfix
parent
0aea2218
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#19937
passed
5 months ago
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
lib/CF2022/Controller/Orders.pm
+1
-1
1 addition, 1 deletion
lib/CF2022/Controller/Orders.pm
with
2 additions
and
2 deletions
.gitlab-ci.yml
+
1
−
1
View file @
71e30553
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
lib/CF2022/Controller/Orders.pm
+
1
−
1
View file @
71e30553
...
...
@@ -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
});
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment