TESTING - Disable home, notifications api timelines - 2
This commit is contained in:
parent
d72cd96a32
commit
1948972a4f
@ -12,7 +12,7 @@ class Api::V1::NotificationsController < Api::BaseController
|
|||||||
DEFAULT_NOTIFICATIONS_LIMIT = 20
|
DEFAULT_NOTIFICATIONS_LIMIT = 20
|
||||||
|
|
||||||
def index
|
def index
|
||||||
@notifications = load_notifications
|
# @notifications = load_notifications
|
||||||
@notifications = []
|
@notifications = []
|
||||||
render json: @notifications, each_serializer: REST::NotificationSerializer, relationships: StatusRelationshipsPresenter.new(target_statuses_from_notifications, current_user&.account_id)
|
render json: @notifications, each_serializer: REST::NotificationSerializer, relationships: StatusRelationshipsPresenter.new(target_statuses_from_notifications, current_user&.account_id)
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user