{"action":"created","comment":{"url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/pulls/comments/174566044","pull_request_review_id":103946476,"id":174566044,"diff_hunk":"@@ -51,9 +51,9 @@ function deleteMap(mapId) {\n  * POI\n  */\n function getPOIs() {\n-  return createRequest(REQUEST_METHODS.GET, 'pois')\n-    .then(res => res.data)\n-    .then(res => res.map(r => r.data).map(adapters.convertFromApiPOI))\n+  return createRequest(REQUEST_METHODS.GET, 'pois').then(res =>\n+    res.data.map(adapters.convertFromApiPOI)\n+  )","path":"src/utils/apiWrapper.js","position":9,"original_position":9,"commit_id":"af7f74027f430623c6a616c5e926785fa94a0814","original_commit_id":"af7f74027f430623c6a616c5e926785fa94a0814","user":{"login":"alex-wuu","id":34557317,"avatar_url":"https://avatars0.githubusercontent.com/u/34557317?v=4","gravatar_id":"","url":"https://api.github.com/users/alex-wuu","html_url":"https://github.com/alex-wuu","followers_url":"https://api.github.com/users/alex-wuu/followers","following_url":"https://api.github.com/users/alex-wuu/following{/other_user}","gists_url":"https://api.github.com/users/alex-wuu/gists{/gist_id}","starred_url":"https://api.github.com/users/alex-wuu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alex-wuu/subscriptions","organizations_url":"https://api.github.com/users/alex-wuu/orgs","repos_url":"https://api.github.com/users/alex-wuu/repos","events_url":"https://api.github.com/users/alex-wuu/events{/privacy}","received_events_url":"https://api.github.com/users/alex-wuu/received_events","type":"User","site_admin":false},"body":"Previous code didn't work and gave an error. This change gives an array of all POIs from the request","created_at":"2018-03-14T18:32:37Z","updated_at":"2018-03-14T18:32:37Z","html_url":"https://github.com/hack4impact-uiuc/nnb-frontend/pull/93#discussion_r174566044","pull_request_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/pulls/93","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/pulls/comments/174566044"},"html":{"href":"https://github.com/hack4impact-uiuc/nnb-frontend/pull/93#discussion_r174566044"},"pull_request":{"href":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/pulls/93"}},"in_reply_to_id":174553497},"pull_request":{"url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/pulls/93","id":174866510,"html_url":"https://github.com/hack4impact-uiuc/nnb-frontend/pull/93","diff_url":"https://github.com/hack4impact-uiuc/nnb-frontend/pull/93.diff","patch_url":"https://github.com/hack4impact-uiuc/nnb-frontend/pull/93.patch","issue_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/issues/93","number":93,"state":"open","locked":false,"title":"POI redux","user":{"login":"alex-wuu","id":34557317,"avatar_url":"https://avatars0.githubusercontent.com/u/34557317?v=4","gravatar_id":"","url":"https://api.github.com/users/alex-wuu","html_url":"https://github.com/alex-wuu","followers_url":"https://api.github.com/users/alex-wuu/followers","following_url":"https://api.github.com/users/alex-wuu/following{/other_user}","gists_url":"https://api.github.com/users/alex-wuu/gists{/gist_id}","starred_url":"https://api.github.com/users/alex-wuu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alex-wuu/subscriptions","organizations_url":"https://api.github.com/users/alex-wuu/orgs","repos_url":"https://api.github.com/users/alex-wuu/repos","events_url":"https://api.github.com/users/alex-wuu/events{/privacy}","received_events_url":"https://api.github.com/users/alex-wuu/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-03-14T06:43:40Z","updated_at":"2018-03-14T18:32:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"356beb99afaf434054a6ce77870198397d0c0569","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/pulls/93/commits","review_comments_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/pulls/93/comments","review_comment_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/issues/93/comments","statuses_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/statuses/af7f74027f430623c6a616c5e926785fa94a0814","head":{"label":"hack4impact-uiuc:poi-redux","ref":"poi-redux","sha":"af7f74027f430623c6a616c5e926785fa94a0814","user":{"login":"hack4impact-uiuc","id":32913348,"avatar_url":"https://avatars1.githubusercontent.com/u/32913348?v=4","gravatar_id":"","url":"https://api.github.com/users/hack4impact-uiuc","html_url":"https://github.com/hack4impact-uiuc","followers_url":"https://api.github.com/users/hack4impact-uiuc/followers","following_url":"https://api.github.com/users/hack4impact-uiuc/following{/other_user}","gists_url":"https://api.github.com/users/hack4impact-uiuc/gists{/gist_id}","starred_url":"https://api.github.com/users/hack4impact-uiuc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hack4impact-uiuc/subscriptions","organizations_url":"https://api.github.com/users/hack4impact-uiuc/orgs","repos_url":"https://api.github.com/users/hack4impact-uiuc/repos","events_url":"https://api.github.com/users/hack4impact-uiuc/events{/privacy}","received_events_url":"https://api.github.com/users/hack4impact-uiuc/received_events","type":"Organization","site_admin":false},"repo":{"id":108793024,"name":"nnb-frontend","full_name":"hack4impact-uiuc/nnb-frontend","owner":{"login":"hack4impact-uiuc","id":32913348,"avatar_url":"https://avatars1.githubusercontent.com/u/32913348?v=4","gravatar_id":"","url":"https://api.github.com/users/hack4impact-uiuc","html_url":"https://github.com/hack4impact-uiuc","followers_url":"https://api.github.com/users/hack4impact-uiuc/followers","following_url":"https://api.github.com/users/hack4impact-uiuc/following{/other_user}","gists_url":"https://api.github.com/users/hack4impact-uiuc/gists{/gist_id}","starred_url":"https://api.github.com/users/hack4impact-uiuc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hack4impact-uiuc/subscriptions","organizations_url":"https://api.github.com/users/hack4impact-uiuc/orgs","repos_url":"https://api.github.com/users/hack4impact-uiuc/repos","events_url":"https://api.github.com/users/hack4impact-uiuc/events{/privacy}","received_events_url":"https://api.github.com/users/hack4impact-uiuc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hack4impact-uiuc/nnb-frontend","description":"Frontend for Neighborhood News Bureau","fork":false,"url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend","forks_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/forks","keys_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/teams","hooks_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/hooks","issue_events_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/events","assignees_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/tags","blobs_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/languages","stargazers_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/stargazers","contributors_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/contributors","subscribers_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/subscribers","subscription_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/subscription","commits_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/merges","archive_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/downloads","issues_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/labels{/name}","releases_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/deployments","created_at":"2017-10-30T02:40:03Z","updated_at":"2018-03-07T17:40:04Z","pushed_at":"2018-03-14T06:43:41Z","git_url":"git://github.com/hack4impact-uiuc/nnb-frontend.git","ssh_url":"git@github.com:hack4impact-uiuc/nnb-frontend.git","clone_url":"https://github.com/hack4impact-uiuc/nnb-frontend.git","svn_url":"https://github.com/hack4impact-uiuc/nnb-frontend","homepage":"","size":745,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":11,"license":null,"forks":0,"open_issues":11,"watchers":1,"default_branch":"master"}},"base":{"label":"hack4impact-uiuc:master","ref":"master","sha":"87fc60f832c5c1ebe2e5724d769afff9aadcaee7","user":{"login":"hack4impact-uiuc","id":32913348,"avatar_url":"https://avatars1.githubusercontent.com/u/32913348?v=4","gravatar_id":"","url":"https://api.github.com/users/hack4impact-uiuc","html_url":"https://github.com/hack4impact-uiuc","followers_url":"https://api.github.com/users/hack4impact-uiuc/followers","following_url":"https://api.github.com/users/hack4impact-uiuc/following{/other_user}","gists_url":"https://api.github.com/users/hack4impact-uiuc/gists{/gist_id}","starred_url":"https://api.github.com/users/hack4impact-uiuc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hack4impact-uiuc/subscriptions","organizations_url":"https://api.github.com/users/hack4impact-uiuc/orgs","repos_url":"https://api.github.com/users/hack4impact-uiuc/repos","events_url":"https://api.github.com/users/hack4impact-uiuc/events{/privacy}","received_events_url":"https://api.github.com/users/hack4impact-uiuc/received_events","type":"Organization","site_admin":false},"repo":{"id":108793024,"name":"nnb-frontend","full_name":"hack4impact-uiuc/nnb-frontend","owner":{"login":"hack4impact-uiuc","id":32913348,"avatar_url":"https://avatars1.githubusercontent.com/u/32913348?v=4","gravatar_id":"","url":"https://api.github.com/users/hack4impact-uiuc","html_url":"https://github.com/hack4impact-uiuc","followers_url":"https://api.github.com/users/hack4impact-uiuc/followers","following_url":"https://api.github.com/users/hack4impact-uiuc/following{/other_user}","gists_url":"https://api.github.com/users/hack4impact-uiuc/gists{/gist_id}","starred_url":"https://api.github.com/users/hack4impact-uiuc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hack4impact-uiuc/subscriptions","organizations_url":"https://api.github.com/users/hack4impact-uiuc/orgs","repos_url":"https://api.github.com/users/hack4impact-uiuc/repos","events_url":"https://api.github.com/users/hack4impact-uiuc/events{/privacy}","received_events_url":"https://api.github.com/users/hack4impact-uiuc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hack4impact-uiuc/nnb-frontend","description":"Frontend for Neighborhood News Bureau","fork":false,"url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend","forks_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/forks","keys_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/teams","hooks_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/hooks","issue_events_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/events","assignees_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/tags","blobs_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/languages","stargazers_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/stargazers","contributors_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/contributors","subscribers_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/subscribers","subscription_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/subscription","commits_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/merges","archive_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/downloads","issues_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/labels{/name}","releases_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/deployments","created_at":"2017-10-30T02:40:03Z","updated_at":"2018-03-07T17:40:04Z","pushed_at":"2018-03-14T06:43:41Z","git_url":"git://github.com/hack4impact-uiuc/nnb-frontend.git","ssh_url":"git@github.com:hack4impact-uiuc/nnb-frontend.git","clone_url":"https://github.com/hack4impact-uiuc/nnb-frontend.git","svn_url":"https://github.com/hack4impact-uiuc/nnb-frontend","homepage":"","size":745,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":11,"license":null,"forks":0,"open_issues":11,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/pulls/93"},"html":{"href":"https://github.com/hack4impact-uiuc/nnb-frontend/pull/93"},"issue":{"href":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/issues/93"},"comments":{"href":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/issues/93/comments"},"review_comments":{"href":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/pulls/93/comments"},"review_comment":{"href":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/pulls/93/commits"},"statuses":{"href":"https://api.github.com/repos/hack4impact-uiuc/nnb-frontend/statuses/af7f74027f430623c6a616c5e926785fa94a0814"}},"author_association":"OWNER"}}
{"actor":{"display_login":"alex-wuu"}}