From 0af28e9b0a9175634b5c189d3ac3c6c527846906 Mon Sep 17 00:00:00 2001 From: Fosco Marotto Date: Fri, 20 Nov 2020 21:14:33 -0800 Subject: [PATCH] [Lists] Fix lists query --- app/controllers/api/v1/timelines/list_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/api/v1/timelines/list_controller.rb b/app/controllers/api/v1/timelines/list_controller.rb index 0d1b3746..fb5250f3 100644 --- a/app/controllers/api/v1/timelines/list_controller.rb +++ b/app/controllers/api/v1/timelines/list_controller.rb @@ -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