[Lists] Fix lists query

This commit is contained in:
Fosco Marotto 2020-11-20 21:14:33 -08:00
parent 62e8f846bc
commit 0af28e9b0a
1 changed files with 1 additions and 1 deletions

View File

@ -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