diff options
| author | unwox <me@unwox.com> | 2024-12-11 20:41:29 +0600 |
|---|---|---|
| committer | unwox <me@unwox.com> | 2024-12-16 21:20:55 +0600 |
| commit | 155c9c5bbb703490e5d61f7b4504987e35088a95 (patch) | |
| tree | 643995b9b90c3759888cfd9b3100d871c0ccfb63 /fetcher.fnl | |
| parent | e35dbf50a93ba734def634317a09211654974d42 (diff) | |
integrate moychay.ru tea shop
Diffstat (limited to 'fetcher.fnl')
| -rw-r--r-- | fetcher.fnl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fetcher.fnl b/fetcher.fnl index 617bbfc..7b46266 100644 --- a/fetcher.fnl +++ b/fetcher.fnl @@ -5,7 +5,6 @@ (require :lpeg) (require :lpeglj))) (local array (require :lib.array)) -(local json (require :vendor.json)) (local parser (require :parser.parser)) (local http (require :lib.http)) (local {: must} (require :lib.utils)) @@ -87,7 +86,7 @@ ""))) (if (= status 200) - (let [{: items} (response-destructor (json.decode body))] + (let [{: items} (response-destructor body)] (if (or (= items nil) (= 0 (# items))) knil (do |
