Skip to content

Commit 448dfd3

Browse files
committed
Add email to application export [ci skip]
1 parent 4890812 commit 448dfd3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

bin/cron/teacher_applications_to_s3

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,13 @@ def main
1414
app.status,
1515
app.scholarship_status,
1616
app.school_type,
17-
app.sanitize_form_data_hash[:pay_fee]
17+
app.sanitize_form_data_hash[:pay_fee],
18+
app.email
1819
])
1920
end
2021

2122
output = CSV.generate(col_sep: "\t") do |csv|
22-
csv << %w(course regional_partner status scholarship_status school_type pay_fee)
23+
csv << %w(course regional_partner status scholarship_status school_type pay_fee email)
2324
applications.each {|row| csv << row}
2425
end
2526

0 commit comments

Comments
 (0)