Fix lists export (#10136)

This commit is contained in:
ThibG 2019-03-03 15:38:47 +01:00 committed by Eugen Rochko
parent 3e0ed36e8e
commit 99dc212ae5
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ class Export
def to_lists_csv def to_lists_csv
CSV.generate do |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| list.accounts.select(:username, :domain).each do |account|
csv << [list.title, acct(account)] csv << [list.title, acct(account)]
end end