Update handleTedditApiSubreddit 'routes/home.js'
This commit is contained in:
parent
aa3a854b6e
commit
e0bf08132d
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue