mirror of
https://codeberg.org/teddit/teddit.git
synced 2026-03-05 13:30:33 -05:00
Merge branch 'main' into main
This commit is contained in:
@@ -763,7 +763,7 @@ module.exports = (app, redis, fetch, RedditAPI) => {
|
||||
nsfw = 'off'
|
||||
}
|
||||
|
||||
let key = `search:${q}:${restrict_sr}:${sortby}:${past}:${after}:${before}:${nsfw}`
|
||||
let key = `search:${subreddit}:${q}:${restrict_sr}:${sortby}:${past}:${after}:${before}:${nsfw}`
|
||||
redis.get(key, (error, json) => {
|
||||
if(error) {
|
||||
console.error('Error getting the search key from redis.', error)
|
||||
|
||||
Reference in New Issue
Block a user