summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/fetch.fnl4
-rw-r--r--bin/serve.fnl6
2 files changed, 6 insertions, 4 deletions
diff --git a/bin/fetch.fnl b/bin/fetch.fnl
index b632249..434e33a 100644
--- a/bin/fetch.fnl
+++ b/bin/fetch.fnl
@@ -19,6 +19,7 @@
(local ozchai (require :parser.ozchai))
(local suhexuan (require :parser.suhexuan))
(local tea108 (require :parser.tea108))
+(local teaworkshop (require :parser.teaworkshop))
(when _G.unpack
(tset table :unpack _G.unpack))
@@ -167,7 +168,8 @@
(must (luna.db.commit tx)))
(each [_ parser (pairs [daochai gorkovchay moychay ozchai suhexuan ipuer
- artoftea clubcha chaekshop kolokolnikovchai tea108])]
+ artoftea clubcha chaekshop kolokolnikovchai tea108
+ teaworkshop])]
(local products (parser.products))
(when (< 0 (# products))
;; replace with with-tx
diff --git a/bin/serve.fnl b/bin/serve.fnl
index 55f1ff0..4f77416 100644
--- a/bin/serve.fnl
+++ b/bin/serve.fnl
@@ -491,9 +491,9 @@
[:option {:value val
:selected (if (= form.site val) "selected" nil)}
(. (require (.. "parser." val)) :title)])
- [:ozchai :suhexuan :kolokolnikovchai :tea108 :ipuer :clubcha
- :daochai :ozchai :chaekshop :artoftea :moychay
- :gorkovchay]))]]
+ [:ozchai :suhexuan :ozchai :kolokolnikovchai :tea108 :ipuer
+ :clubcha :daochai :chaekshop :teaworkshop :artoftea
+ :moychay :gorkovchay]))]]
[:div {}
[:select {:name "sort"}
[:option {:value ""} "~ Порядок ~"]