[www] renderHome signature changed
This commit is contained in:
1 parent
50b3f7fbd5
commit
009205d858
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -5,7 +5,7 @@ const getPathWithNoTrailingSlash = require('../lib/url').getPathWithNoTrailingSl
|
||||
function getHome(pageSize) {
|
||||
return get('/', async ctx => {
|
||||
const path = getPathWithNoTrailingSlash(ctx.path)
|
||||
ctx.body = await renderHome(path, 1, pageSize)
|
||||
ctx.body = await renderHome(path, pageSize)
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user