Remove unnecessary queries from requested conversations count

This commit is contained in:
rubic0n 2021-01-24 23:19:20 -06:00
parent 4adbadddaa
commit 1b9349bc52
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ class Api::V1::ChatConversations::RequestedConversationsController < Api::BaseCo
before_action -> { authorize_if_got_token! :read, :'read:chats' } before_action -> { authorize_if_got_token! :read, :'read:chats' }
before_action :require_user! before_action :require_user!
after_action :insert_pagination_headers after_action :insert_pagination_headers, only: :index
def index def index
@chat_conversations = load_chat_conversations @chat_conversations = load_chat_conversations