mirror of
https://codeberg.org/tacerus/teddit.git
synced 2024-11-22 14:59:26 +01:00
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, '&')
|
||||
}
|
||||
|
||||
this.teddifyUrl = (url) => {
|
||||
this.teddifyUrl = (url, user_preferences) => {
|
||||
try {
|
||||
let u = new URL(url)
|
||||
if(u.host === 'www.reddit.com' || u.host === 'reddit.com') {
|
||||
|
Loading…
Reference in New Issue
Block a user