summaryrefslogtreecommitdiff
path: root/fetcher.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'fetcher.fnl')
-rw-r--r--fetcher.fnl3
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