aboutsummaryrefslogtreecommitdiff
path: root/src/geddit.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/geddit.js')
-rw-r--r--src/geddit.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/geddit.js b/src/geddit.js
index 93477e7..902d859 100644
--- a/src/geddit.js
+++ b/src/geddit.js
@@ -218,8 +218,6 @@ class Geddit {
218 include_over_18: true 218 include_over_18: true
219 } 219 }
220 220
221 console.log(this.host + "/search.json?" + new URLSearchParams(Object.assign(params, options)));
222
223 return await fetch(this.host + "/search.json?" + new URLSearchParams(Object.assign(params, options))) 221 return await fetch(this.host + "/search.json?" + new URLSearchParams(Object.assign(params, options)))
224 .then(res => res.json()) 222 .then(res => res.json())
225 .then(json => json.data) 223 .then(json => json.data)