Commit 0af28e9b authored by Fosco Marotto's avatar Fosco Marotto

[Lists] Fix lists query

parent 62e8f846
......@@ -18,7 +18,7 @@ class Api::V1::Timelines::ListController < Api::BaseController
def set_list
@list = List.where(account: current_account).find(params[:id])
@accounts = ListAccount.select('follow_id').where(list_id: @list)
@accounts = ListAccount.select('account_id').where(list_id: @list)
end
def set_statuses
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment