about summary refs log tree commit diff
path: root/app/controllers/api/v1/conversations_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/api/v1/conversations_controller.rb')
-rw-r--r--app/controllers/api/v1/conversations_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/api/v1/conversations_controller.rb b/app/controllers/api/v1/conversations_controller.rb
index b19f27ebf..5606ca4e3 100644
--- a/app/controllers/api/v1/conversations_controller.rb
+++ b/app/controllers/api/v1/conversations_controller.rb
@@ -13,12 +13,12 @@ class Api::V1::ConversationsController < Api::BaseController
 
   def index
     @conversations = paginated_conversations
-    render json: @conversations, each_serializer: REST::ConversationSerializer
+    render json: @conversations, each_serializer: REST::ConversationSerializer, monsterfork_api: monsterfork_api
   end
 
   def read
     @conversation.update!(unread: false)
-    render json: @conversation, serializer: REST::ConversationSerializer
+    render json: @conversation, serializer: REST::ConversationSerializer, monsterfork_api: monsterfork_api
   end
 
   def destroy