mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-27 01:25:52 -05:00
Fix classroom API call
This commit is contained in:
parent
74b26267d2
commit
8038fbcdc1
1 changed files with 2 additions and 1 deletions
|
@ -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({
|
||||
|
|
Loading…
Reference in a new issue