{"action":"created","issue":{"url":"https://api.github.com/repos/mwojick/treatpal/issues/4","repository_url":"https://api.github.com/repos/mwojick/treatpal","labels_url":"https://api.github.com/repos/mwojick/treatpal/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/mwojick/treatpal/issues/4/comments","events_url":"https://api.github.com/repos/mwojick/treatpal/issues/4/events","html_url":"https://github.com/mwojick/treatpal/issues/4","id":331790338,"node_id":"MDU6SXNzdWUzMzE3OTAzMzg=","number":4,"title":"PA Review: Search by treat / favorites / map","user":{"login":"mwojick","id":35327565,"node_id":"MDQ6VXNlcjM1MzI3NTY1","avatar_url":"https://avatars0.githubusercontent.com/u/35327565?v=4","gravatar_id":"","url":"https://api.github.com/users/mwojick","html_url":"https://github.com/mwojick","followers_url":"https://api.github.com/users/mwojick/followers","following_url":"https://api.github.com/users/mwojick/following{/other_user}","gists_url":"https://api.github.com/users/mwojick/gists{/gist_id}","starred_url":"https://api.github.com/users/mwojick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwojick/subscriptions","organizations_url":"https://api.github.com/users/mwojick/orgs","repos_url":"https://api.github.com/users/mwojick/repos","events_url":"https://api.github.com/users/mwojick/events{/privacy}","received_events_url":"https://api.github.com/users/mwojick/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"andywynkoop","id":24970377,"node_id":"MDQ6VXNlcjI0OTcwMzc3","avatar_url":"https://avatars3.githubusercontent.com/u/24970377?v=4","gravatar_id":"","url":"https://api.github.com/users/andywynkoop","html_url":"https://github.com/andywynkoop","followers_url":"https://api.github.com/users/andywynkoop/followers","following_url":"https://api.github.com/users/andywynkoop/following{/other_user}","gists_url":"https://api.github.com/users/andywynkoop/gists{/gist_id}","starred_url":"https://api.github.com/users/andywynkoop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andywynkoop/subscriptions","organizations_url":"https://api.github.com/users/andywynkoop/orgs","repos_url":"https://api.github.com/users/andywynkoop/repos","events_url":"https://api.github.com/users/andywynkoop/events{/privacy}","received_events_url":"https://api.github.com/users/andywynkoop/received_events","type":"User","site_admin":false},"assignees":[{"login":"andywynkoop","id":24970377,"node_id":"MDQ6VXNlcjI0OTcwMzc3","avatar_url":"https://avatars3.githubusercontent.com/u/24970377?v=4","gravatar_id":"","url":"https://api.github.com/users/andywynkoop","html_url":"https://github.com/andywynkoop","followers_url":"https://api.github.com/users/andywynkoop/followers","following_url":"https://api.github.com/users/andywynkoop/following{/other_user}","gists_url":"https://api.github.com/users/andywynkoop/gists{/gist_id}","starred_url":"https://api.github.com/users/andywynkoop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andywynkoop/subscriptions","organizations_url":"https://api.github.com/users/andywynkoop/orgs","repos_url":"https://api.github.com/users/andywynkoop/repos","events_url":"https://api.github.com/users/andywynkoop/events{/privacy}","received_events_url":"https://api.github.com/users/andywynkoop/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-06-12T23:35:11Z","updated_at":"2018-06-13T01:52:16Z","closed_at":null,"author_association":"OWNER","body":"- [x] Backend: DB, model, controller, views\r\n- [x] Redux Loop: ajax, actions, reducer\r\n- [x] Presentational Components and Containers\r\n- [x] Styling\r\n- [x] Smooth, bug-free navigation\r\n- [x] Adequate and appropriate seeds"},"comment":{"url":"https://api.github.com/repos/mwojick/treatpal/issues/comments/396788115","html_url":"https://github.com/mwojick/treatpal/issues/4#issuecomment-396788115","issue_url":"https://api.github.com/repos/mwojick/treatpal/issues/4","id":396788115,"node_id":"MDEyOklzc3VlQ29tbWVudDM5Njc4ODExNQ==","user":{"login":"mwojick","id":35327565,"node_id":"MDQ6VXNlcjM1MzI3NTY1","avatar_url":"https://avatars0.githubusercontent.com/u/35327565?v=4","gravatar_id":"","url":"https://api.github.com/users/mwojick","html_url":"https://github.com/mwojick","followers_url":"https://api.github.com/users/mwojick/followers","following_url":"https://api.github.com/users/mwojick/following{/other_user}","gists_url":"https://api.github.com/users/mwojick/gists{/gist_id}","starred_url":"https://api.github.com/users/mwojick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwojick/subscriptions","organizations_url":"https://api.github.com/users/mwojick/orgs","repos_url":"https://api.github.com/users/mwojick/repos","events_url":"https://api.github.com/users/mwojick/events{/privacy}","received_events_url":"https://api.github.com/users/mwojick/received_events","type":"User","site_admin":false},"created_at":"2018-06-13T01:52:16Z","updated_at":"2018-06-13T01:52:16Z","author_association":"OWNER","body":"> If you capitalize anything in the search query it won't return any results.\r\n\r\nI had a syntax issue in my controller.\r\n\r\n> If the query doesn't return any results, the server shouldn't be throwing a 404 error. It should still be a successful response status even though it's empty.\r\n\r\nI had to change the server response to 200 but then because it wouldn't hit my error response after the promise, I had to check in the .then success statement if the payload was an array or not (since I know it will only be an array if it's an error message). If it is, I dispatch the error action creator."}}
{"actor":{"display_login":"mwojick"}}