[Lists] Fix lists query
This commit is contained in:
parent
62e8f846bc
commit
0af28e9b0a
|
@ -18,7 +18,7 @@ class Api::V1::Timelines::ListController < Api::BaseController
|
||||||
|
|
||||||
def set_list
|
def set_list
|
||||||
@list = List.where(account: current_account).find(params[:id])
|
@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
|
end
|
||||||
|
|
||||||
def set_statuses
|
def set_statuses
|
||||||
|
|
Loading…
Reference in New Issue