[www] renderHome signature changed

This commit is contained in:
Roman Timashev committed 2017-10-15 02:09:57 +03:00
1 parent 50b3f7fbd5
commit 009205d858
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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)
})
}