TESTING - Disable home, notifications api timelines - 1
This commit is contained in:
@@ -13,11 +13,13 @@ class Api::V1::NotificationsController < Api::BaseController
|
||||
|
||||
def index
|
||||
@notifications = load_notifications
|
||||
@notifications = []
|
||||
render json: @notifications, each_serializer: REST::NotificationSerializer, relationships: StatusRelationshipsPresenter.new(target_statuses_from_notifications, current_user&.account_id)
|
||||
end
|
||||
|
||||
def show
|
||||
@notification = current_account.notifications.find(params[:id])
|
||||
# @notification = current_account.notifications.find(params[:id])
|
||||
@notification = []
|
||||
render json: @notification, serializer: REST::NotificationSerializer
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user