From d72cd96a326539d973d4374f3a6b1ac59ebea5cc Mon Sep 17 00:00:00 2001
From: mgabdev <>
Date: Fri, 22 May 2020 14:45:50 -0400
Subject: [PATCH] TESTING - Disable home, notifications api timelines - 1

---
 app/controllers/api/v1/notifications_controller.rb  | 4 +++-
 app/controllers/api/v1/timelines/home_controller.rb | 4 ++--
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/app/controllers/api/v1/notifications_controller.rb b/app/controllers/api/v1/notifications_controller.rb
index a3152942..13d61571 100644
--- a/app/controllers/api/v1/notifications_controller.rb
+++ b/app/controllers/api/v1/notifications_controller.rb
@@ -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
 
diff --git a/app/controllers/api/v1/timelines/home_controller.rb b/app/controllers/api/v1/timelines/home_controller.rb
index 3805af5e..47b3ca2c 100644
--- a/app/controllers/api/v1/timelines/home_controller.rb
+++ b/app/controllers/api/v1/timelines/home_controller.rb
@@ -8,8 +8,8 @@ class Api::V1::Timelines::HomeController < Api::BaseController
   respond_to :json
 
   def show
-    @statuses = load_statuses
-
+    # @statuses = load_statuses
+    @statuses = []
     render json: @statuses,
            each_serializer: REST::StatusSerializer,
            relationships: StatusRelationshipsPresenter.new(@statuses, current_user&.account_id),