fix A2 media recording

the props for the UploadMedia component changed and broke us
see g/211690

TEST PLAN:
A2 media recording can be saved and submitted

fixes KNO-146

Change-Id: I30e89270d0aa6b55a3206c677f2b2f115b1d0a4b
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/217732
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Tested-by: Jenkins
Reviewed-by: Steven Burnett <sburnett@instructure.com>
QA-Review: Ben Nelson <bnelson@instructure.com>
Product-Review: Ben Nelson <bnelson@instructure.com>
This commit is contained in:
Ben Nelson 2019-11-18 16:56:03 -07:00
parent ce78ab5500
commit b3fb08df2f
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ export default class MediaAttempt extends React.Component {
renderMediaUpload = () => (
<View as="div" borderWidth="small">
<UploadMedia
onComplete={this.onComplete}
onUploadComplete={this.onComplete}
onDismiss={this.onDismiss}
contextId={this.props.assignment.env.courseId}
contextType="course"