Verified Commit 2ea4ef62 authored by blint's avatar blint 😶
Browse files

thing

parent 94ccd5df
......@@ -85,8 +85,8 @@ func NewHandler(w http.ResponseWriter, r *http.Request) {
return
}
amount, err := strconv.Atoi(r.PostForm.Get("amount"))
if err != nil || amount <= 0 || amount > 30 {
errorMsg("1 és 30 közöttinek kell lennie a mennyiségnek")
if err != nil || amount <= 0 {
errorMsg("minimum 1 terméket vehetsz")
return
}
......
......@@ -7,5 +7,5 @@ POSTGRES: "${POSTGRES}"
POSTGRES_PASS: "${POSTGRES_PASS}"
POSTGRES_USER: "${POSTGRES_USER}"
POSTGRES_DB: "${POSTGRES_DB}"
Tag: "v1.6.4"
Tag: "v1.6.5"
REGISTRY_CONF: "${REGISTRY_CONF}"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment