Revert "feat: add explicit courserun_key parameter to /event endpoint" (#28410)

This commit is contained in:
Manjinder Singh
2021-08-05 18:05:20 -04:00
committed by GitHub
parent 24c87b5521
commit f7c5a109d4
7 changed files with 28 additions and 90 deletions

View File

@@ -56,12 +56,6 @@
}
}
// Regardless of whether any callbacks were made, log this event.
if (typeof $$course_id !== 'undefined') {
if (!data) {
data = {}
}
data.courserun_key = $$course_id;
}
return sendRequest({
event_type: eventType,
event: JSON.stringify(data),