{"action":"created","comment":{"url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/pulls/comments/131430438","pull_request_review_id":54414138,"id":131430438,"diff_hunk":"@@ -7,10 +7,11 @@ const buildTemplate = (layergroupid) => { // eslint-disable-line\n \n const carto = {\n   SQL(query, type = 'json') {\n+    const cleanedQuery = query.replace('\\n', '');","path":"app/utils/carto.js","position":4,"original_position":4,"commit_id":"a53e54124802f305b8179ae70c7fbd0226425e76","original_commit_id":"a53e54124802f305b8179ae70c7fbd0226425e76","user":{"login":"allthesignals","id":5004319,"avatar_url":"https://avatars2.githubusercontent.com/u/5004319?v=4","gravatar_id":"","url":"https://api.github.com/users/allthesignals","html_url":"https://github.com/allthesignals","followers_url":"https://api.github.com/users/allthesignals/followers","following_url":"https://api.github.com/users/allthesignals/following{/other_user}","gists_url":"https://api.github.com/users/allthesignals/gists{/gist_id}","starred_url":"https://api.github.com/users/allthesignals/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allthesignals/subscriptions","organizations_url":"https://api.github.com/users/allthesignals/orgs","repos_url":"https://api.github.com/users/allthesignals/repos","events_url":"https://api.github.com/users/allthesignals/events{/privacy}","received_events_url":"https://api.github.com/users/allthesignals/received_events","type":"User","site_admin":false},"body":"👍 ","created_at":"2017-08-04T16:27:00Z","updated_at":"2017-08-04T16:27:11Z","html_url":"https://github.com/NYCPlanning/labs-community-portal/pull/43#discussion_r131430438","pull_request_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/pulls/43","_links":{"self":{"href":"https://api.github.com/repos/NYCPlanning/labs-community-portal/pulls/comments/131430438"},"html":{"href":"https://github.com/NYCPlanning/labs-community-portal/pull/43#discussion_r131430438"},"pull_request":{"href":"https://api.github.com/repos/NYCPlanning/labs-community-portal/pulls/43"}}},"pull_request":{"url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/pulls/43","id":134192411,"html_url":"https://github.com/NYCPlanning/labs-community-portal/pull/43","diff_url":"https://github.com/NYCPlanning/labs-community-portal/pull/43.diff","patch_url":"https://github.com/NYCPlanning/labs-community-portal/pull/43.patch","issue_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/issues/43","number":43,"state":"open","locked":false,"title":"modify initial SQL query to remove non-cds","user":{"login":"chriswhong","id":1833820,"avatar_url":"https://avatars1.githubusercontent.com/u/1833820?v=4","gravatar_id":"","url":"https://api.github.com/users/chriswhong","html_url":"https://github.com/chriswhong","followers_url":"https://api.github.com/users/chriswhong/followers","following_url":"https://api.github.com/users/chriswhong/following{/other_user}","gists_url":"https://api.github.com/users/chriswhong/gists{/gist_id}","starred_url":"https://api.github.com/users/chriswhong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chriswhong/subscriptions","organizations_url":"https://api.github.com/users/chriswhong/orgs","repos_url":"https://api.github.com/users/chriswhong/repos","events_url":"https://api.github.com/users/chriswhong/events{/privacy}","received_events_url":"https://api.github.com/users/chriswhong/received_events","type":"User","site_admin":false},"body":"The PR modifies the initial SQL query that gets geojson for CDs, eliminating the non-cd results (central park, airports, etc)","created_at":"2017-08-04T15:26:17Z","updated_at":"2017-08-04T16:27:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"188c2fdab237fcff07cd6fa42a7bf04026f17822","assignee":{"login":"chriswhong","id":1833820,"avatar_url":"https://avatars1.githubusercontent.com/u/1833820?v=4","gravatar_id":"","url":"https://api.github.com/users/chriswhong","html_url":"https://github.com/chriswhong","followers_url":"https://api.github.com/users/chriswhong/followers","following_url":"https://api.github.com/users/chriswhong/following{/other_user}","gists_url":"https://api.github.com/users/chriswhong/gists{/gist_id}","starred_url":"https://api.github.com/users/chriswhong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chriswhong/subscriptions","organizations_url":"https://api.github.com/users/chriswhong/orgs","repos_url":"https://api.github.com/users/chriswhong/repos","events_url":"https://api.github.com/users/chriswhong/events{/privacy}","received_events_url":"https://api.github.com/users/chriswhong/received_events","type":"User","site_admin":false},"assignees":[{"login":"chriswhong","id":1833820,"avatar_url":"https://avatars1.githubusercontent.com/u/1833820?v=4","gravatar_id":"","url":"https://api.github.com/users/chriswhong","html_url":"https://github.com/chriswhong","followers_url":"https://api.github.com/users/chriswhong/followers","following_url":"https://api.github.com/users/chriswhong/following{/other_user}","gists_url":"https://api.github.com/users/chriswhong/gists{/gist_id}","starred_url":"https://api.github.com/users/chriswhong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chriswhong/subscriptions","organizations_url":"https://api.github.com/users/chriswhong/orgs","repos_url":"https://api.github.com/users/chriswhong/repos","events_url":"https://api.github.com/users/chriswhong/events{/privacy}","received_events_url":"https://api.github.com/users/chriswhong/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/pulls/43/commits","review_comments_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/pulls/43/comments","review_comment_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/issues/43/comments","statuses_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/statuses/a53e54124802f305b8179ae70c7fbd0226425e76","head":{"label":"NYCPlanning:remove-non-cd-geometries","ref":"remove-non-cd-geometries","sha":"a53e54124802f305b8179ae70c7fbd0226425e76","user":{"login":"NYCPlanning","id":18286928,"avatar_url":"https://avatars1.githubusercontent.com/u/18286928?v=4","gravatar_id":"","url":"https://api.github.com/users/NYCPlanning","html_url":"https://github.com/NYCPlanning","followers_url":"https://api.github.com/users/NYCPlanning/followers","following_url":"https://api.github.com/users/NYCPlanning/following{/other_user}","gists_url":"https://api.github.com/users/NYCPlanning/gists{/gist_id}","starred_url":"https://api.github.com/users/NYCPlanning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NYCPlanning/subscriptions","organizations_url":"https://api.github.com/users/NYCPlanning/orgs","repos_url":"https://api.github.com/users/NYCPlanning/repos","events_url":"https://api.github.com/users/NYCPlanning/events{/privacy}","received_events_url":"https://api.github.com/users/NYCPlanning/received_events","type":"Organization","site_admin":false},"repo":{"id":98913570,"name":"labs-community-portal","full_name":"NYCPlanning/labs-community-portal","owner":{"login":"NYCPlanning","id":18286928,"avatar_url":"https://avatars1.githubusercontent.com/u/18286928?v=4","gravatar_id":"","url":"https://api.github.com/users/NYCPlanning","html_url":"https://github.com/NYCPlanning","followers_url":"https://api.github.com/users/NYCPlanning/followers","following_url":"https://api.github.com/users/NYCPlanning/following{/other_user}","gists_url":"https://api.github.com/users/NYCPlanning/gists{/gist_id}","starred_url":"https://api.github.com/users/NYCPlanning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NYCPlanning/subscriptions","organizations_url":"https://api.github.com/users/NYCPlanning/orgs","repos_url":"https://api.github.com/users/NYCPlanning/repos","events_url":"https://api.github.com/users/NYCPlanning/events{/privacy}","received_events_url":"https://api.github.com/users/NYCPlanning/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NYCPlanning/labs-community-portal","description":"A site for exploring indicators, data, and information for NYC community districts","fork":false,"url":"https://api.github.com/repos/NYCPlanning/labs-community-portal","forks_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/forks","keys_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/teams","hooks_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/hooks","issue_events_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/issues/events{/number}","events_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/events","assignees_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/assignees{/user}","branches_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/branches{/branch}","tags_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/tags","blobs_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/git/refs{/sha}","trees_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/statuses/{sha}","languages_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/languages","stargazers_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/stargazers","contributors_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/contributors","subscribers_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/subscribers","subscription_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/subscription","commits_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/commits{/sha}","git_commits_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/git/commits{/sha}","comments_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/comments{/number}","issue_comment_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/issues/comments{/number}","contents_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/contents/{+path}","compare_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/merges","archive_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/downloads","issues_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/issues{/number}","pulls_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/pulls{/number}","milestones_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/milestones{/number}","notifications_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/labels{/name}","releases_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/releases{/id}","deployments_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/deployments","created_at":"2017-07-31T17:42:26Z","updated_at":"2017-08-03T20:39:14Z","pushed_at":"2017-08-04T16:19:05Z","git_url":"git://github.com/NYCPlanning/labs-community-portal.git","ssh_url":"git@github.com:NYCPlanning/labs-community-portal.git","clone_url":"https://github.com/NYCPlanning/labs-community-portal.git","svn_url":"https://github.com/NYCPlanning/labs-community-portal","homepage":null,"size":384,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":22,"forks":0,"open_issues":22,"watchers":0,"default_branch":"develop"}},"base":{"label":"NYCPlanning:develop","ref":"develop","sha":"0fde20c2f87915205b7dffab7f62631ef098b192","user":{"login":"NYCPlanning","id":18286928,"avatar_url":"https://avatars1.githubusercontent.com/u/18286928?v=4","gravatar_id":"","url":"https://api.github.com/users/NYCPlanning","html_url":"https://github.com/NYCPlanning","followers_url":"https://api.github.com/users/NYCPlanning/followers","following_url":"https://api.github.com/users/NYCPlanning/following{/other_user}","gists_url":"https://api.github.com/users/NYCPlanning/gists{/gist_id}","starred_url":"https://api.github.com/users/NYCPlanning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NYCPlanning/subscriptions","organizations_url":"https://api.github.com/users/NYCPlanning/orgs","repos_url":"https://api.github.com/users/NYCPlanning/repos","events_url":"https://api.github.com/users/NYCPlanning/events{/privacy}","received_events_url":"https://api.github.com/users/NYCPlanning/received_events","type":"Organization","site_admin":false},"repo":{"id":98913570,"name":"labs-community-portal","full_name":"NYCPlanning/labs-community-portal","owner":{"login":"NYCPlanning","id":18286928,"avatar_url":"https://avatars1.githubusercontent.com/u/18286928?v=4","gravatar_id":"","url":"https://api.github.com/users/NYCPlanning","html_url":"https://github.com/NYCPlanning","followers_url":"https://api.github.com/users/NYCPlanning/followers","following_url":"https://api.github.com/users/NYCPlanning/following{/other_user}","gists_url":"https://api.github.com/users/NYCPlanning/gists{/gist_id}","starred_url":"https://api.github.com/users/NYCPlanning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NYCPlanning/subscriptions","organizations_url":"https://api.github.com/users/NYCPlanning/orgs","repos_url":"https://api.github.com/users/NYCPlanning/repos","events_url":"https://api.github.com/users/NYCPlanning/events{/privacy}","received_events_url":"https://api.github.com/users/NYCPlanning/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NYCPlanning/labs-community-portal","description":"A site for exploring indicators, data, and information for NYC community districts","fork":false,"url":"https://api.github.com/repos/NYCPlanning/labs-community-portal","forks_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/forks","keys_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/teams","hooks_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/hooks","issue_events_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/issues/events{/number}","events_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/events","assignees_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/assignees{/user}","branches_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/branches{/branch}","tags_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/tags","blobs_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/git/refs{/sha}","trees_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/statuses/{sha}","languages_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/languages","stargazers_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/stargazers","contributors_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/contributors","subscribers_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/subscribers","subscription_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/subscription","commits_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/commits{/sha}","git_commits_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/git/commits{/sha}","comments_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/comments{/number}","issue_comment_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/issues/comments{/number}","contents_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/contents/{+path}","compare_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/merges","archive_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/downloads","issues_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/issues{/number}","pulls_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/pulls{/number}","milestones_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/milestones{/number}","notifications_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/labels{/name}","releases_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/releases{/id}","deployments_url":"https://api.github.com/repos/NYCPlanning/labs-community-portal/deployments","created_at":"2017-07-31T17:42:26Z","updated_at":"2017-08-03T20:39:14Z","pushed_at":"2017-08-04T16:19:05Z","git_url":"git://github.com/NYCPlanning/labs-community-portal.git","ssh_url":"git@github.com:NYCPlanning/labs-community-portal.git","clone_url":"https://github.com/NYCPlanning/labs-community-portal.git","svn_url":"https://github.com/NYCPlanning/labs-community-portal","homepage":null,"size":384,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":22,"forks":0,"open_issues":22,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/NYCPlanning/labs-community-portal/pulls/43"},"html":{"href":"https://github.com/NYCPlanning/labs-community-portal/pull/43"},"issue":{"href":"https://api.github.com/repos/NYCPlanning/labs-community-portal/issues/43"},"comments":{"href":"https://api.github.com/repos/NYCPlanning/labs-community-portal/issues/43/comments"},"review_comments":{"href":"https://api.github.com/repos/NYCPlanning/labs-community-portal/pulls/43/comments"},"review_comment":{"href":"https://api.github.com/repos/NYCPlanning/labs-community-portal/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NYCPlanning/labs-community-portal/pulls/43/commits"},"statuses":{"href":"https://api.github.com/repos/NYCPlanning/labs-community-portal/statuses/a53e54124802f305b8179ae70c7fbd0226425e76"}}}}
{"actor":{"display_login":"allthesignals"}}