bratislava / kupaliska-starz-fe

Buy and manage tickets to swimming pools in Bratislava.
https://kupaliska.bratislava.sk
European Union Public License 1.2
0 stars 0 forks source link

FE - Posielanie veku 17.44 skrz objednavaci formular #133

Closed Balros closed 1 year ago

Balros commented 1 year ago

Pri zadani veku 17.44 veku do objednavacieho formulara vyhodi "nieco sa pokazilo" Pravdepodobne BE neuznava taketo hodnoty a FE ich dovoluje ->

Error below: { "level": 30, "time": 1688899269846, "pid": 6, "hostname": "kupaliska-starz-be-app-f97d6d7b4-ls6vq", "req": { "id": 146484, "method": "POST", "url": "/api/v1/orders/unauthenticated", "query": {}, "params": {}, "headers": { "host": "api.kupaliska.bratislava.sk", "accept-encoding": "gzip", "cf-ray": "7e3ff3f38ae4c27d-VIE", "content-length": "660", "cf-visitor": "{\"scheme\":\"https\"}", "content-type": "application/json", "accept": "application/json, text/plain, */*", "sec-fetch-site": "same-site", "accept-language": "sk-SK,sk;q=0.9", "cache-control": "no-cache", "sec-fetch-mode": "cors", "origin": "https://kupaliska.bratislava.sk", "user-agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 16_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) GSA/270.0.542728515 Mobile/15E148 Safari/604.1", "referer": "https://kupaliska.bratislava.sk/", "sec-fetch-dest": "empty", "cookie": "_hjAbsoluteSessionInProgress=0; _hjFirstSeen=1; _hjSession_2431038=eyJpZCI6ImMyZDEwNGY2LWU2MTMtNDYzMi1iMzRkLTJiZGIyYzNiZTViNyIsImNyZWF0ZWQiOjE2ODg4OTkxNzAyMDEsImluU2FtcGxlIjp0cnVlfQ==; _hjIncludedInSessionSample_2431038=1; _hjSessionUser_2431038=eyJpZCI6ImFhMGQ1MDAyLThhYTYtNTFmYS05YzhjLTQwMzlhOWFlNDkxYyIsImNyZWF0ZWQiOjE2ODg4OTkxNzAxOTYsImV4aXN0aW5nIjpmYWxzZX0=; _cfuvid=e9YwCEs_zdnpCgTl7xOsUoiVI9ndTNqV0evmJxxFwrU-1688899169978-0-604800000", "cdn-loop": "cloudflare", "cf-connecting-ip": "95.102.133.168", "cf-ipcountry": "SK", "x-forwarded-proto": "https", "x-original-forwarded-for": "95.102.133.168", "x-forwarded-for": "10.10.10.21" }, "remoteAddress": "192.168.0.150", "remotePort": 38072, "body": { "ticketTypeId": "3f1f2a06-fe28-4d84-bf1d-9e3990670355", "tickets": [ { "age": 17.44, "zip": "84103" }, { "age": 17.44, "zip": "84103" } ], "email": "tencer.lubor@gmail.com", "agreement": "true", "token": "0.jponcnpmMxe3l-4q6pOeB1pcEM5EpH69A-1sOreD7ye8-DD7ESBvmZpXCzHPxX-it8K2m8J4atNo9pW-oQfCAE0-8UayuZS1oitvPx7UrvgaIkqCahKaTVyVLkQBCktPnM71nglkU5gYyvITGXDGZa-RYkeMS7tCgQXn_7T7GytsVPTsC3TWzGENTzGnpSNszrplZNRyOjFvoUmCSzRQX8cHGK41tE7qeeQ2JfRBWMT68t-QMYGgjOUiO51DV5pV3izID3IhrUi8AhBSyPi_o1l9vYZGNN91m08yenIw1f94MsduktTSKywreUK6UXDpaVylUCobIGUKr6WOxzGnRvuhjzwwPrMHHYvEnc-29ElRvrRAS7j5KPyY4-qpioF3.nHg4tyJNWDV80bvinSHiJQ.5508eed4aa25617e1c4bf3c5ff71c2e7931664cdd71b869c91fcddf69d3e0f40" } }, "res": { "statusCode": 500, "headers": { "content-security-policy": "default-src 'self';base-uri 'self';block-all-mixed-content;font-src 'self' https: data:;frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests", "x-dns-prefetch-control": "off", "expect-ct": "max-age=0", "x-frame-options": "SAMEORIGIN", "strict-transport-security": "max-age=15552000; includeSubDomains", "x-download-options": "noopen", "x-content-type-options": "nosniff", "x-permitted-cross-domain-policies": "none", "referrer-policy": "no-referrer", "x-xss-protection": "0", "access-control-allow-origin": "https://kupaliska.bratislava.sk", "vary": "Origin", "access-control-allow-credentials": "true", "content-language": "sk-SK", "content-type": "application/json; charset=utf-8", "content-length": "67", "etag": "W/\"43-h4FB5oyR32Br+tzDyi5xYy9SizE\"" } }, "err": { "type": "Error", "message": "failed with status code 500", "stack": "Error: failed with status code 500\n at onResFinished (/home/node/app/node_modules/pino-http/logger.js:110:39)\n at ServerResponse.onResponseComplete (/home/node/app/node_modules/pino-http/logger.js:173:14)\n at ServerResponse.emit (node:events:525:35)\n at ServerResponse.emit (node:domain:552:15)\n at onFinish (node:_http_outgoing:967:10)\n at callback (node:internal/streams/writable:555:21)\n at afterWrite (node:internal/streams/writable:500:5)\n at afterWriteTick (node:internal/streams/writable:487:10)\n at process.processTicksAndRejections (node:internal/process/task_queues:81:21)" }, "responseTime": 149, "msg": "request errored" }