Fix classroom API call

This commit is contained in:
Ray Schamp 2016-07-21 18:10:41 -04:00
parent 74b26267d2
commit 8038fbcdc1

View file

@ -36,7 +36,8 @@ var StudentRegistration = intl.injectIntl(React.createClass({
},
componentDidMount: function () {
api({
uri: '/classrooms/' + this.props.classroomId + '/' + this.props.classroomToken
uri: '/classrooms/' + this.props.classroomId,
params: {token: this.props.classroomToken}
}, function (err, body, res) {
if (err) {
return this.setState({