diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2023-02-01 11:23:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-01 11:23:54 +0100 |
commit | 21780c02042590172b2ef6f3d982611929cff580 (patch) | |
tree | 685bea838f188b824e6cd943ee1df5aefa6d7462 /app/controllers | |
parent | 41baf4b2170dec95c10356a787d78bf63e1e8e6b (diff) |
Change notifications per page from 15 to 40 in REST API (#23348)
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/api/v1/notifications_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/api/v1/notifications_controller.rb b/app/controllers/api/v1/notifications_controller.rb index 7b1cfe264..41f7f93af 100644 --- a/app/controllers/api/v1/notifications_controller.rb +++ b/app/controllers/api/v1/notifications_controller.rb @@ -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 |