Fix lists export (#10136)

This commit is contained in:
ThibG 2019-03-03 15:38:47 +01:00 committed by Eugen Rochko
parent a4bc5c375c
commit 7034bb65d6

View file

@ -22,7 +22,7 @@ class Export
def to_lists_csv
CSV.generate do |csv|
account.owned_lists.select(:title).each do |list|
account.owned_lists.select(:title, :id).each do |list|
list.accounts.select(:username, :domain).each do |account|
csv << [list.title, acct(account)]
end