1
0
mirror of https://codeberg.org/teddit/teddit synced 2025-02-19 21:50:35 +01:00

Update handleTedditApiSubreddit 'routes/user.js'

This commit is contained in:
gawii0 2021-12-27 18:19:05 +01:00
parent e870b9ea50
commit 0d2de61444

View File

@ -327,7 +327,8 @@ userRoutes.get('/u/:user/m/:custom_feed/:sort?', (req, res, next) => {
'redis', 'redis',
api_type, api_type,
api_target, api_target,
subreddit subreddit,
'full'
); );
} else { } else {
let processed_json = await processJsonSubreddit( let processed_json = await processJsonSubreddit(
@ -397,7 +398,8 @@ userRoutes.get('/u/:user/m/:custom_feed/:sort?', (req, res, next) => {
'from_online', 'from_online',
api_type, api_type,
api_target, api_target,
subreddit subreddit,
'full'
); );
} else { } else {
let processed_json = await processJsonSubreddit( let processed_json = await processJsonSubreddit(