{"action":"created","issue":{"url":"https://api.github.com/repos/ciebit/places/issues/6","repository_url":"https://api.github.com/repos/ciebit/places","labels_url":"https://api.github.com/repos/ciebit/places/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/ciebit/places/issues/6/comments","events_url":"https://api.github.com/repos/ciebit/places/issues/6/events","html_url":"https://github.com/ciebit/places/issues/6","id":332180774,"node_id":"MDU6SXNzdWUzMzIxODA3NzQ=","number":6,"title":"O retorno da lista de cidades não é o esperado","user":{"login":"johnnysaymon","id":5160587,"node_id":"MDQ6VXNlcjUxNjA1ODc=","avatar_url":"https://avatars3.githubusercontent.com/u/5160587?v=4","gravatar_id":"","url":"https://api.github.com/users/johnnysaymon","html_url":"https://github.com/johnnysaymon","followers_url":"https://api.github.com/users/johnnysaymon/followers","following_url":"https://api.github.com/users/johnnysaymon/following{/other_user}","gists_url":"https://api.github.com/users/johnnysaymon/gists{/gist_id}","starred_url":"https://api.github.com/users/johnnysaymon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnnysaymon/subscriptions","organizations_url":"https://api.github.com/users/johnnysaymon/orgs","repos_url":"https://api.github.com/users/johnnysaymon/repos","events_url":"https://api.github.com/users/johnnysaymon/events{/privacy}","received_events_url":"https://api.github.com/users/johnnysaymon/received_events","type":"User","site_admin":false},"labels":[{"id":952380160,"node_id":"MDU6TGFiZWw5NTIzODAxNjA=","url":"https://api.github.com/repos/ciebit/places/labels/bug","name":"bug","color":"d73a4a","default":true}],"state":"open","locked":false,"assignee":{"login":"maikenegreiros","id":31582481,"node_id":"MDQ6VXNlcjMxNTgyNDgx","avatar_url":"https://avatars3.githubusercontent.com/u/31582481?v=4","gravatar_id":"","url":"https://api.github.com/users/maikenegreiros","html_url":"https://github.com/maikenegreiros","followers_url":"https://api.github.com/users/maikenegreiros/followers","following_url":"https://api.github.com/users/maikenegreiros/following{/other_user}","gists_url":"https://api.github.com/users/maikenegreiros/gists{/gist_id}","starred_url":"https://api.github.com/users/maikenegreiros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maikenegreiros/subscriptions","organizations_url":"https://api.github.com/users/maikenegreiros/orgs","repos_url":"https://api.github.com/users/maikenegreiros/repos","events_url":"https://api.github.com/users/maikenegreiros/events{/privacy}","received_events_url":"https://api.github.com/users/maikenegreiros/received_events","type":"User","site_admin":false},"assignees":[{"login":"maikenegreiros","id":31582481,"node_id":"MDQ6VXNlcjMxNTgyNDgx","avatar_url":"https://avatars3.githubusercontent.com/u/31582481?v=4","gravatar_id":"","url":"https://api.github.com/users/maikenegreiros","html_url":"https://github.com/maikenegreiros","followers_url":"https://api.github.com/users/maikenegreiros/followers","following_url":"https://api.github.com/users/maikenegreiros/following{/other_user}","gists_url":"https://api.github.com/users/maikenegreiros/gists{/gist_id}","starred_url":"https://api.github.com/users/maikenegreiros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maikenegreiros/subscriptions","organizations_url":"https://api.github.com/users/maikenegreiros/orgs","repos_url":"https://api.github.com/users/maikenegreiros/repos","events_url":"https://api.github.com/users/maikenegreiros/events{/privacy}","received_events_url":"https://api.github.com/users/maikenegreiros/received_events","type":"User","site_admin":false}],"milestone":null,"comments":16,"created_at":"2018-06-13T22:01:57Z","updated_at":"2018-06-15T12:07:19Z","closed_at":null,"author_association":"MEMBER","body":"https://github.com/ciebit/places/blob/de1099acf83a84aada99d6ec6d98ce0d19bfb8a9/app/Repositories/IBGE/Cities.php#L19-L28\r\n\r\nPerceba que faltou um `return` na linha 24 e que mesmo que ele tenha um retorno o método `applyFilters` só aplica um único filtro.\r\n\r\nAconselho repensar esse modo de captura dos dados e tentar esse pensamento: quando houver um filtro que ajude na consulta direta com a API, então você verá formas de personalizar o endpoint, porém, quando a API não fornece parâmetros para determinadas filtragens, isso deverá ocorrer depois da captura dos dados."},"comment":{"url":"https://api.github.com/repos/ciebit/places/issues/comments/397600944","html_url":"https://github.com/ciebit/places/issues/6#issuecomment-397600944","issue_url":"https://api.github.com/repos/ciebit/places/issues/6","id":397600944,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NzYwMDk0NA==","user":{"login":"maikenegreiros","id":31582481,"node_id":"MDQ6VXNlcjMxNTgyNDgx","avatar_url":"https://avatars3.githubusercontent.com/u/31582481?v=4","gravatar_id":"","url":"https://api.github.com/users/maikenegreiros","html_url":"https://github.com/maikenegreiros","followers_url":"https://api.github.com/users/maikenegreiros/followers","following_url":"https://api.github.com/users/maikenegreiros/following{/other_user}","gists_url":"https://api.github.com/users/maikenegreiros/gists{/gist_id}","starred_url":"https://api.github.com/users/maikenegreiros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maikenegreiros/subscriptions","organizations_url":"https://api.github.com/users/maikenegreiros/orgs","repos_url":"https://api.github.com/users/maikenegreiros/repos","events_url":"https://api.github.com/users/maikenegreiros/events{/privacy}","received_events_url":"https://api.github.com/users/maikenegreiros/received_events","type":"User","site_admin":false},"created_at":"2018-06-15T12:07:19Z","updated_at":"2018-06-15T12:07:19Z","author_association":"MEMBER","body":"@johnnysaymon , com essa modificação, o exemplo de uso lá no readme ainda será o mesmo?"}}
{"actor":{"display_login":"maikenegreiros"}}