summaryrefslogtreecommitdiff
path: root/shop.fnl
diff options
context:
space:
mode:
authorunwox <me@unwox.com>2025-10-30 19:01:32 +0600
committerunwox <me@unwox.com>2025-10-30 20:36:58 +0600
commit4151e7a73ef0476b4aea5a356d391a7060b8a01c (patch)
treea576a0017fa5fa0c368d39c270a1df99b79b6014 /shop.fnl
parentb06fdc9c3b4b6dc0d5d60098303dd57d5c098e13 (diff)
small improvements here and there
Diffstat (limited to 'shop.fnl')
-rw-r--r--shop.fnl6
1 files changed, 0 insertions, 6 deletions
diff --git a/shop.fnl b/shop.fnl
index 24ff3d9..6eb1789 100644
--- a/shop.fnl
+++ b/shop.fnl
@@ -74,11 +74,6 @@
"UPDATE orders SET state = 'canceled' WHERE id = ?"
[id])))))
-(fn order-id [request]
- (let [cookies-header (. request.headers :Cookie)
- cookies (if cookies-header (lib.parse-values cookies-header) {})]
- cookies.order))
-
(fn create-order-line [db order-id name quantity]
(_G.must
(luna.db.exec
@@ -136,7 +131,6 @@
: place-order
: finish-order
: cancel-order
- : order-id
: create-order-line
: delete-order-line
: basket