Commit 8038fbcd authored by Ray Schamp's avatar Ray Schamp

Fix classroom API call

parent 74b26267
...@@ -36,7 +36,8 @@ var StudentRegistration = intl.injectIntl(React.createClass({ ...@@ -36,7 +36,8 @@ var StudentRegistration = intl.injectIntl(React.createClass({
}, },
componentDidMount: function () { componentDidMount: function () {
api({ api({
uri: '/classrooms/' + this.props.classroomId + '/' + this.props.classroomToken uri: '/classrooms/' + this.props.classroomId,
params: {token: this.props.classroomToken}
}, function (err, body, res) { }, function (err, body, res) {
if (err) { if (err) {
return this.setState({ return this.setState({
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment