summaryrefslogtreecommitdiff
path: root/pages/shop/cart/add.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 /pages/shop/cart/add.fnl
parentb06fdc9c3b4b6dc0d5d60098303dd57d5c098e13 (diff)
small improvements here and there
Diffstat (limited to 'pages/shop/cart/add.fnl')
-rw-r--r--pages/shop/cart/add.fnl2
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/shop/cart/add.fnl b/pages/shop/cart/add.fnl
index b276608..f6b3d54 100644
--- a/pages/shop/cart/add.fnl
+++ b/pages/shop/cart/add.fnl
@@ -4,7 +4,7 @@
(fn render [request db]
(if (= request.method "POST")
(do
- (var order-id (shop.order-id request))
+ (var order-id request.cookies.order)
(var headers {})
(when (not order-id)