9 ublog posts per page (grouped by 3)

This commit is contained in:
Thibault Duplessis 2021-09-12 11:53:35 +02:00
parent 152598dad9
commit a55a47f2d0

View file

@ -22,7 +22,7 @@ final class UblogPaginator(
import UblogBsonHandlers._ import UblogBsonHandlers._
import UblogPost.PreviewPost import UblogPost.PreviewPost
val maxPerPage = MaxPerPage(8) val maxPerPage = MaxPerPage(9)
def byUser(user: User, live: Boolean, page: Int): Fu[Paginator[PreviewPost]] = def byUser(user: User, live: Boolean, page: Int): Fu[Paginator[PreviewPost]] =
byBlog(UblogBlog.Id.User(user.id), live, page) byBlog(UblogBlog.Id.User(user.id), live, page)