aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api/overviews.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-04-05 17:00:09 +0200
committerChocobozzz <me@florianbigard.com>2019-04-05 17:00:09 +0200
commit0f4905e120e66c5227ca3c57074e3e8554424621 (patch)
treeeb62cf1f23386a66700545d79ef3ee296b407267 /server/controllers/api/overviews.ts
parent32157c0892ed000d15ad8fbc89e90fd005a5f4e8 (diff)
downloadPeerTube-0f4905e120e66c5227ca3c57074e3e8554424621.tar.gz
PeerTube-0f4905e120e66c5227ca3c57074e3e8554424621.tar.zst
PeerTube-0f4905e120e66c5227ca3c57074e3e8554424621.zip
2 rows per overview section
Diffstat (limited to 'server/controllers/api/overviews.ts')
-rw-r--r--server/controllers/api/overviews.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/api/overviews.ts b/server/controllers/api/overviews.ts
index 8b6773056..b052acdb7 100644
--- a/server/controllers/api/overviews.ts
+++ b/server/controllers/api/overviews.ts
@@ -94,7 +94,7 @@ async function getVideos (
94) { 94) {
95 const query = Object.assign({ 95 const query = Object.assign({
96 start: 0, 96 start: 0,
97 count: 10, 97 count: 12,
98 sort: '-createdAt', 98 sort: '-createdAt',
99 includeLocalVideos: true, 99 includeLocalVideos: true,
100 nsfw: buildNSFWFilter(res), 100 nsfw: buildNSFWFilter(res),