Fix connection point for source creation

pull/10616/head
Will Piers 2016-09-29 16:47:20 -07:00
parent 83ee76adda
commit c4a39b4af0
1 changed files with 2 additions and 2 deletions

View File

@ -43,8 +43,8 @@ export const SelectSourcePage = React.createClass({
username: this.sourceUser.value,
password: this.sourcePassword.value,
};
createSource(source).then(() => {
// this.redirectToApp(sourceFromServer)
createSource(source).then(({data: sourceFromServer}) => {
this.redirectToApp(sourceFromServer);
});
},