Change notifications per page from 15 to 40 in REST API
This commit is contained in:
parent
081f14b361
commit
f444e95315
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ class Api::V1::NotificationsController < Api::BaseController
|
|||
before_action :require_user!
|
||||
after_action :insert_pagination_headers, only: :index
|
||||
|
||||
DEFAULT_NOTIFICATIONS_LIMIT = 15
|
||||
DEFAULT_NOTIFICATIONS_LIMIT = 40
|
||||
|
||||
def index
|
||||
@notifications = load_notifications
|
||||
|
|
Loading…
Reference in a new issue