Skip to content

Commit

Permalink
fix javascript id rounding with linking students to observers
Browse files Browse the repository at this point in the history
user.id is a integer, but the original id is a string

closes #CNVS-31767

Change-Id: I3113222d20e3c6edd8bdfcfb83e1441403cf55bc
Reviewed-on: https://gerrit.instructure.com/90198
Tested-by: Jenkins
Reviewed-by: Jeremy Stanley <[email protected]>
Product-Review: James Williams  <[email protected]>
QA-Review: James Williams  <[email protected]>
  • Loading branch information
maneframe committed Sep 14, 2016
1 parent fc20413 commit b2a4fbd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ define [
data =
enrollment:
user_id: @model.get('id')
associated_user_id: user.id
associated_user_id: id
type: enrollment.type
limit_privileges_to_course_section: enrollment.limit_priveleges_to_course_section
if enrollment.role != enrollment.type
Expand Down

0 comments on commit b2a4fbd

Please sign in to comment.