@@ -250,7 +250,7 @@ router
250250 )
251251 . get (
252252 '/emails' ,
253- paginate . middleware ( 10 , 50 ) ,
253+ paginate . middleware ( 25 , 100 ) ,
254254 web . myAccount . retrieveDomains ,
255255 web . myAccount . listEmails ,
256256 api . v1 . emails . list
@@ -506,7 +506,7 @@ router
506506// contacts (CardDAV)
507507router
508508 . use ( '/contacts' , api . v1 . aliasAuth )
509- . get ( '/contacts' , paginate . middleware ( 10 , 50 ) , api . v1 . contacts . list )
509+ . get ( '/contacts' , paginate . middleware ( 25 , 100 ) , api . v1 . contacts . list )
510510 . post ( '/contacts' , api . v1 . contacts . create )
511511 . get ( '/contacts/:id' , api . v1 . contacts . retrieve )
512512 . put ( '/contacts/:id' , api . v1 . contacts . update )
@@ -515,7 +515,7 @@ router
515515// calendars (CalDAV)
516516router
517517 . use ( '/calendars' , api . v1 . aliasAuth )
518- . get ( '/calendars' , paginate . middleware ( 10 , 50 ) , api . v1 . calendars . list )
518+ . get ( '/calendars' , paginate . middleware ( 25 , 100 ) , api . v1 . calendars . list )
519519 . post ( '/calendars' , api . v1 . calendars . create )
520520 . get ( '/calendars/:id' , api . v1 . calendars . retrieve )
521521 . put ( '/calendars/:id' , api . v1 . calendars . update )
@@ -524,7 +524,7 @@ router
524524// messages (IMAP/POP3)
525525router
526526 . use ( '/messages' , api . v1 . aliasAuth )
527- . get ( '/messages' , paginate . middleware ( 10 , 50 ) , api . v1 . messages . list )
527+ . get ( '/messages' , paginate . middleware ( 25 , 100 ) , api . v1 . messages . list )
528528 . post ( '/messages' , api . v1 . messages . create )
529529 . get ( '/messages/:id' , api . v1 . messages . retrieve )
530530 . put ( '/messages/:id' , api . v1 . messages . update )
@@ -533,7 +533,7 @@ router
533533// folders (IMAP/POP3)
534534router
535535 . use ( '/folders' , api . v1 . aliasAuth )
536- . get ( '/folders' , paginate . middleware ( 10 , 50 ) , api . v1 . folders . list )
536+ . get ( '/folders' , paginate . middleware ( 25 , 100 ) , api . v1 . folders . list )
537537 . post ( '/folders' , api . v1 . folders . create )
538538 . get ( '/folders/:id' , api . v1 . folders . retrieve )
539539 . put ( '/folders/:id' , api . v1 . folders . update )
0 commit comments