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') {