TESTING - Disable home, notifications api timelines - 2

This commit is contained in:
mgabdev 2020-05-22 14:47:02 -04:00
parent d72cd96a32
commit 1948972a4f

View File

@ -12,7 +12,7 @@ class Api::V1::NotificationsController < Api::BaseController
DEFAULT_NOTIFICATIONS_LIMIT = 20
def index
@notifications = load_notifications
# @notifications = load_notifications
@notifications = []
render json: @notifications, each_serializer: REST::NotificationSerializer, relationships: StatusRelationshipsPresenter.new(target_statuses_from_notifications, current_user&.account_id)
end