{"action":"created","issue":{"url":"https://api.github.com/repos/mgattozzi/github-rs/issues/81","repository_url":"https://api.github.com/repos/mgattozzi/github-rs","labels_url":"https://api.github.com/repos/mgattozzi/github-rs/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/mgattozzi/github-rs/issues/81/comments","events_url":"https://api.github.com/repos/mgattozzi/github-rs/issues/81/events","html_url":"https://github.com/mgattozzi/github-rs/issues/81","id":257205932,"number":81,"title":"Unable to fetch resources","user":{"login":"crawford","id":368848,"avatar_url":"https://avatars3.githubusercontent.com/u/368848?v=4","gravatar_id":"","url":"https://api.github.com/users/crawford","html_url":"https://github.com/crawford","followers_url":"https://api.github.com/users/crawford/followers","following_url":"https://api.github.com/users/crawford/following{/other_user}","gists_url":"https://api.github.com/users/crawford/gists{/gist_id}","starred_url":"https://api.github.com/users/crawford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crawford/subscriptions","organizations_url":"https://api.github.com/users/crawford/orgs","repos_url":"https://api.github.com/users/crawford/repos","events_url":"https://api.github.com/users/crawford/events{/privacy}","received_events_url":"https://api.github.com/users/crawford/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-09-12T22:45:02Z","updated_at":"2017-09-12T23:22:36Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"I looks like this was broken in 13cd8755a280196baa991ce8d57e65bd30be8e11.\r\n\r\nGiven the following code:\r\n\r\n```rust\r\nlet pr: (_, _, RawPullRequest) = client\r\n        .get()\r\n        .repos()\r\n        .owner(owner)\r\n        .repo(repo)\r\n        .pulls()\r\n        .number(&number.to_string())\r\n        .execute()?;\r\n```\r\n\r\nI'm seeing messages like the following in my logs:\r\n\r\n```\r\nreqwest::async_impl::response: Response: '404 Not Found' for https://api.github.com/repos/crawford/pulls/2\r\n```\r\n\r\nThe correct URL is `https://api.github.com/repos/crawford/repo/pulls/2`.\r\n\r\nAfter locally reverting the patch in question, my code works again."},"comment":{"url":"https://api.github.com/repos/mgattozzi/github-rs/issues/comments/329011903","html_url":"https://github.com/mgattozzi/github-rs/issues/81#issuecomment-329011903","issue_url":"https://api.github.com/repos/mgattozzi/github-rs/issues/81","id":329011903,"user":{"login":"mgattozzi","id":3514399,"avatar_url":"https://avatars3.githubusercontent.com/u/3514399?v=4","gravatar_id":"","url":"https://api.github.com/users/mgattozzi","html_url":"https://github.com/mgattozzi","followers_url":"https://api.github.com/users/mgattozzi/followers","following_url":"https://api.github.com/users/mgattozzi/following{/other_user}","gists_url":"https://api.github.com/users/mgattozzi/gists{/gist_id}","starred_url":"https://api.github.com/users/mgattozzi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgattozzi/subscriptions","organizations_url":"https://api.github.com/users/mgattozzi/orgs","repos_url":"https://api.github.com/users/mgattozzi/repos","events_url":"https://api.github.com/users/mgattozzi/events{/privacy}","received_events_url":"https://api.github.com/users/mgattozzi/received_events","type":"User","site_admin":false},"created_at":"2017-09-12T23:22:36Z","updated_at":"2017-09-12T23:22:36Z","author_association":"OWNER","body":"We might want to get this in as part of #79 since it's already fixing the URL and I noticed it wasn't working there."}}
{"actor":{"display_login":"mgattozzi"}}