add missing user_preferences parameter

This commit is contained in:
teddit 2021-03-21 21:22:14 +01:00
parent c120c8b5a5
commit 4c33ea345d
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ module.exports = function(request, fs) {
return url.replace(/&/g, '&') return url.replace(/&/g, '&')
} }
this.teddifyUrl = (url) => { this.teddifyUrl = (url, user_preferences) => {
try { try {
let u = new URL(url) let u = new URL(url)
if(u.host === 'www.reddit.com' || u.host === 'reddit.com') { if(u.host === 'www.reddit.com' || u.host === 'reddit.com') {