mirror of
https://github.com/funamitech/mastodon
synced 2024-11-24 15:16:33 +09:00
Change notifications per page from 15 to 40 in REST API (#23348)
This commit is contained in:
parent
41baf4b217
commit
21780c0204
@ -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 New Issue
Block a user