{"action":"closed","issue":{"url":"https://api.github.com/repos/inspirum/balikobot-php/issues/1","repository_url":"https://api.github.com/repos/inspirum/balikobot-php","labels_url":"https://api.github.com/repos/inspirum/balikobot-php/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/inspirum/balikobot-php/issues/1/comments","events_url":"https://api.github.com/repos/inspirum/balikobot-php/issues/1/events","html_url":"https://github.com/inspirum/balikobot-php/issues/1","id":459820276,"node_id":"MDU6SXNzdWU0NTk4MjAyNzY=","number":1,"title":"TRACK method (v2) response validation bug","user":{"login":"david-vaclavek","id":49518842,"node_id":"MDQ6VXNlcjQ5NTE4ODQy","avatar_url":"https://avatars1.githubusercontent.com/u/49518842?v=4","gravatar_id":"","url":"https://api.github.com/users/david-vaclavek","html_url":"https://github.com/david-vaclavek","followers_url":"https://api.github.com/users/david-vaclavek/followers","following_url":"https://api.github.com/users/david-vaclavek/following{/other_user}","gists_url":"https://api.github.com/users/david-vaclavek/gists{/gist_id}","starred_url":"https://api.github.com/users/david-vaclavek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/david-vaclavek/subscriptions","organizations_url":"https://api.github.com/users/david-vaclavek/orgs","repos_url":"https://api.github.com/users/david-vaclavek/repos","events_url":"https://api.github.com/users/david-vaclavek/events{/privacy}","received_events_url":"https://api.github.com/users/david-vaclavek/received_events","type":"User","site_admin":false},"labels":[{"id":1173574180,"node_id":"MDU6TGFiZWwxMTczNTc0MTgw","url":"https://api.github.com/repos/inspirum/balikobot-php/labels/bug","name":"bug","color":"d73a4a","default":true}],"state":"closed","locked":false,"assignee":{"login":"tomas-novotny","id":36948723,"node_id":"MDQ6VXNlcjM2OTQ4NzIz","avatar_url":"https://avatars1.githubusercontent.com/u/36948723?v=4","gravatar_id":"","url":"https://api.github.com/users/tomas-novotny","html_url":"https://github.com/tomas-novotny","followers_url":"https://api.github.com/users/tomas-novotny/followers","following_url":"https://api.github.com/users/tomas-novotny/following{/other_user}","gists_url":"https://api.github.com/users/tomas-novotny/gists{/gist_id}","starred_url":"https://api.github.com/users/tomas-novotny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomas-novotny/subscriptions","organizations_url":"https://api.github.com/users/tomas-novotny/orgs","repos_url":"https://api.github.com/users/tomas-novotny/repos","events_url":"https://api.github.com/users/tomas-novotny/events{/privacy}","received_events_url":"https://api.github.com/users/tomas-novotny/received_events","type":"User","site_admin":false},"assignees":[{"login":"tomas-novotny","id":36948723,"node_id":"MDQ6VXNlcjM2OTQ4NzIz","avatar_url":"https://avatars1.githubusercontent.com/u/36948723?v=4","gravatar_id":"","url":"https://api.github.com/users/tomas-novotny","html_url":"https://github.com/tomas-novotny","followers_url":"https://api.github.com/users/tomas-novotny/followers","following_url":"https://api.github.com/users/tomas-novotny/following{/other_user}","gists_url":"https://api.github.com/users/tomas-novotny/gists{/gist_id}","starred_url":"https://api.github.com/users/tomas-novotny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomas-novotny/subscriptions","organizations_url":"https://api.github.com/users/tomas-novotny/orgs","repos_url":"https://api.github.com/users/tomas-novotny/repos","events_url":"https://api.github.com/users/tomas-novotny/events{/privacy}","received_events_url":"https://api.github.com/users/tomas-novotny/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2019-06-24T10:44:43Z","updated_at":"2019-06-24T15:38:05Z","closed_at":"2019-06-24T15:38:05Z","author_association":"NONE","body":"<!-- Provide a general summary of the issue in the Title above -->\r\n\r\n## Detailed description\r\n\r\nWhile trying to get a response in \"trackPackage\" method in \"Client\" class, an error is returned, even though there is a valid data returned. It is caused by statusCode set to 500.\r\n\r\n## Context\r\n\r\nFixes the bug. Allows users to retrieve relevant data.\r\n\r\n## Possible implementation\r\n\r\nThere is supposed to be $shouldHaveStatus variable in validateResponseStatus method set to false as there is not this index set in the response.\r\nJust set shouldHaveStatus parameter in the trackPackage method to false - this solves the problem.\r\n\r\n## Your environment\r\nNot necessary"}}
{"actor":{"display_login":"tomas-novotny"}}