From 4c33ea345dc8a4a2e88acff87c85aac1953e865c Mon Sep 17 00:00:00 2001 From: teddit Date: Sun, 21 Mar 2021 21:22:14 +0100 Subject: [PATCH] add missing user_preferences parameter --- inc/commons.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/commons.js b/inc/commons.js index 6ed8b82..83d5af9 100644 --- a/inc/commons.js +++ b/inc/commons.js @@ -36,7 +36,7 @@ module.exports = function(request, fs) { return url.replace(/&/g, '&') } - this.teddifyUrl = (url) => { + this.teddifyUrl = (url, user_preferences) => { try { let u = new URL(url) if(u.host === 'www.reddit.com' || u.host === 'reddit.com') {