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