Skip to content

Commit 7adbcff

Browse files
authored
Merge pull request #402 from openstax/uuid-in-activity
add user uuid to activity report
2 parents 8c399c7 + 068721c commit 7adbcff

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

backend/app/services/learner_activity_report.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ def build_headers(csv)
3030
'Participant Created At',
3131
'Participant Research ID',
3232
'New Participant Study?',
33+
'Participant UUID',
34+
'Participant Name',
3335
'Test Account?'
3436
]
3537
end
@@ -86,6 +88,8 @@ def build_rows(csv, users, launches)
8688
launch.research_id.created_at,
8789
launch.research_id.id,
8890
launch.research_id.is_new_user?(launch.first_launched_at),
91+
launch.user_id,
92+
account['name'] || '',
8993
account['is_test'] ? 'X' : nil
9094
]
9195
end

0 commit comments

Comments
 (0)