1
0
Fork 0
forked from fedi/mastodon

Compare commits

...

1 commit

Author SHA1 Message Date
Eugen Rochko f444e95315 Change notifications per page from 15 to 40 in REST API 2023-02-01 02:30:40 +01:00

View file

@ -6,7 +6,7 @@ class Api::V1::NotificationsController < Api::BaseController
before_action :require_user! before_action :require_user!
after_action :insert_pagination_headers, only: :index after_action :insert_pagination_headers, only: :index
DEFAULT_NOTIFICATIONS_LIMIT = 15 DEFAULT_NOTIFICATIONS_LIMIT = 40
def index def index
@notifications = load_notifications @notifications = load_notifications