File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
apps/src/code-studio/pd/application/teacher1920
dashboard/app/controllers/pd/application Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,8 @@ import firehoseClient from "@cdo/apps/lib/util/firehose";
12
12
export default class Teacher1920Application extends FormController {
13
13
static propTypes = {
14
14
...FormController . propTypes ,
15
- accountEmail : PropTypes . string . isRequired
15
+ accountEmail : PropTypes . string . isRequired ,
16
+ userId : PropTypes . number . isRequired
16
17
} ;
17
18
18
19
static submitButtonText = "Complete and Send" ;
@@ -50,10 +51,11 @@ export default class Teacher1920Application extends FormController {
50
51
// Log the user ID to firehose.
51
52
firehoseClient . putRecord (
52
53
{
54
+ userId : this . props . userId ,
53
55
study : 'application-funnel' ,
54
56
event : 'started-teacher1920-application'
55
57
} ,
56
- { includeUserId : true }
58
+ { includeUserId : false }
57
59
) ;
58
60
}
59
61
Original file line number Diff line number Diff line change @@ -23,7 +23,8 @@ def new
23
23
options : TEACHER_APPLICATION_CLASS . options . camelize_keys ,
24
24
requiredFields : TEACHER_APPLICATION_CLASS . camelize_required_fields ,
25
25
accountEmail : current_user . email ,
26
- apiEndpoint : '/api/v1/pd/application/teacher'
26
+ apiEndpoint : '/api/v1/pd/application/teacher' ,
27
+ userId : current_user . id
27
28
} . to_json
28
29
}
29
30
end
You can’t perform that action at this time.
0 commit comments