diff --git a/tips/12-initial-ajax.md b/tips/12-initial-ajax.md index 5a761438..22088648 100644 --- a/tips/12-initial-ajax.md +++ b/tips/12-initial-ajax.md @@ -26,7 +26,7 @@ var UserGist = React.createClass({ $.get(this.props.source, function(result) { var lastGist = result[0]; this.setState({ - username: lastGist.user.login, + username: lastGist.owner.login, lastGistUrl: lastGist.html_url }); }.bind(this));