Update handleTedditApiSubreddit 'routes/home.js'

This commit is contained in:
gawii0 2021-12-27 18:17:15 +01:00
parent aa3a854b6e
commit e0bf08132d
1 changed files with 4 additions and 2 deletions

View File

@ -108,7 +108,8 @@ homeRoute.get('/:sort?', async (req, res, next) => {
'redis', 'redis',
api_type, api_type,
api_target, api_target,
'/' '/',
'full'
); );
} else { } else {
let processed_json = await processJsonSubreddit( let processed_json = await processJsonSubreddit(
@ -168,7 +169,8 @@ homeRoute.get('/:sort?', async (req, res, next) => {
'from_online', 'from_online',
api_type, api_type,
api_target, api_target,
'/' '/',
'full'
); );
} else { } else {
let processed_json = await processJsonSubreddit( let processed_json = await processJsonSubreddit(