@samitouri / QOS-React-2 / commits / b360ed80dd

Fixed incorrect usage of github api in example

more: https://developer.github.com/v3/gists/#detailed-gist-representation

Rajiv Tirumalareddy committed May 6, 2014 at 16:42 UTC b360ed80dd573a14a9b779386cebc0cc8552ab82
1 file changed +1 -1
docs/tips/12-initial-ajax.md
+1 -1
@@ -26,7 +26,7 @@ var UserGist = React.createClass({
26 $.get(this.props.source, function(result) {
27 var lastGist = result[0];
28 this.setState({
29 - username: lastGist.user.login,
29 + username: lastGist.owner.login,
30 lastGistUrl: lastGist.html_url
31 });
32 }.bind(this));