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',
|
'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(
|
||||||
|
|
Loading…
Reference in New Issue