add missing user_preferences parameter
This commit is contained in:
parent
c120c8b5a5
commit
4c33ea345d
|
@ -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') {
|
||||||
|
|
Loading…
Reference in New Issue