Change notifications per page from 15 to 40 in REST API (#23348)

lolsob-rspec
Eugen Rochko 2023-02-01 11:23:54 +01:00 committed by GitHub
parent bc290e9a2a
commit 99787fa30d
1 changed files with 1 additions and 1 deletions

View File

@ -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