{"action":"created","comment":{"url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/pulls/comments/63282599","id":63282599,"diff_hunk":"@@ -96,8 +96,24 @@ function configure (app, wares, ctx) {\n       // such as enforcing a type property to exist, are followed.\n       return res.format({\n         text: function ( ) {\n+          res.set('Content-Type', 'text/plain');\n           // sgvdata knows how to format sgv entries as text\n-          es.pipeline(output, sgvdata.format( ), res);\n+          es.pipeline(output, sgvdata.format( ), es.writeArray(function (err, out) {\n+            res.send(out.join(''));\n+          }));\n+        },\n+        csv: function ( ) {","path":"lib/api/entries/index.js","position":11,"original_position":11,"commit_id":"cec19fc06b7e528873cdee94c315a6084f082e94","original_commit_id":"cec19fc06b7e528873cdee94c315a6084f082e94","user":{"login":"jasoncalabrese","id":751143,"avatar_url":"https://avatars.githubusercontent.com/u/751143?v=3","gravatar_id":"","url":"https://api.github.com/users/jasoncalabrese","html_url":"https://github.com/jasoncalabrese","followers_url":"https://api.github.com/users/jasoncalabrese/followers","following_url":"https://api.github.com/users/jasoncalabrese/following{/other_user}","gists_url":"https://api.github.com/users/jasoncalabrese/gists{/gist_id}","starred_url":"https://api.github.com/users/jasoncalabrese/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasoncalabrese/subscriptions","organizations_url":"https://api.github.com/users/jasoncalabrese/orgs","repos_url":"https://api.github.com/users/jasoncalabrese/repos","events_url":"https://api.github.com/users/jasoncalabrese/events{/privacy}","received_events_url":"https://api.github.com/users/jasoncalabrese/received_events","type":"User","site_admin":false},"body":"![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [Missing function expression name.](https://www.codacy.com/app/Nightscout/cgm-remote-monitor/file/2573265132/issues/source?bid=2452374&fileBranchId=3298605#l105)","created_at":"2016-05-14T21:48:21Z","updated_at":"2016-05-14T21:48:21Z","html_url":"https://github.com/nightscout/cgm-remote-monitor/pull/1732#discussion_r63282599","pull_request_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/pulls/1732","_links":{"self":{"href":"https://api.github.com/repos/nightscout/cgm-remote-monitor/pulls/comments/63282599"},"html":{"href":"https://github.com/nightscout/cgm-remote-monitor/pull/1732#discussion_r63282599"},"pull_request":{"href":"https://api.github.com/repos/nightscout/cgm-remote-monitor/pulls/1732"}}},"pull_request":{"url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/pulls/1732","id":70104848,"html_url":"https://github.com/nightscout/cgm-remote-monitor/pull/1732","diff_url":"https://github.com/nightscout/cgm-remote-monitor/pull/1732.diff","patch_url":"https://github.com/nightscout/cgm-remote-monitor/pull/1732.patch","issue_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/issues/1732","number":1732,"state":"open","locked":false,"title":"Ignore this","user":{"login":"Bal00","id":16906631,"avatar_url":"https://avatars.githubusercontent.com/u/16906631?v=3","gravatar_id":"","url":"https://api.github.com/users/Bal00","html_url":"https://github.com/Bal00","followers_url":"https://api.github.com/users/Bal00/followers","following_url":"https://api.github.com/users/Bal00/following{/other_user}","gists_url":"https://api.github.com/users/Bal00/gists{/gist_id}","starred_url":"https://api.github.com/users/Bal00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bal00/subscriptions","organizations_url":"https://api.github.com/users/Bal00/orgs","repos_url":"https://api.github.com/users/Bal00/repos","events_url":"https://api.github.com/users/Bal00/events{/privacy}","received_events_url":"https://api.github.com/users/Bal00/received_events","type":"User","site_admin":false},"body":"Mistake, sorry..","created_at":"2016-05-14T21:46:08Z","updated_at":"2016-05-14T21:48:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"960690b5e89a05c1fca93ab3c7b78361f54ce861","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/pulls/1732/commits","review_comments_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/pulls/1732/comments","review_comment_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/issues/1732/comments","statuses_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/statuses/cec19fc06b7e528873cdee94c315a6084f082e94","head":{"label":"Bal00:dev","ref":"dev","sha":"cec19fc06b7e528873cdee94c315a6084f082e94","user":{"login":"Bal00","id":16906631,"avatar_url":"https://avatars.githubusercontent.com/u/16906631?v=3","gravatar_id":"","url":"https://api.github.com/users/Bal00","html_url":"https://github.com/Bal00","followers_url":"https://api.github.com/users/Bal00/followers","following_url":"https://api.github.com/users/Bal00/following{/other_user}","gists_url":"https://api.github.com/users/Bal00/gists{/gist_id}","starred_url":"https://api.github.com/users/Bal00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bal00/subscriptions","organizations_url":"https://api.github.com/users/Bal00/orgs","repos_url":"https://api.github.com/users/Bal00/repos","events_url":"https://api.github.com/users/Bal00/events{/privacy}","received_events_url":"https://api.github.com/users/Bal00/received_events","type":"User","site_admin":false},"repo":{"id":50459323,"name":"cgm-remote-monitor","full_name":"Bal00/cgm-remote-monitor","owner":{"login":"Bal00","id":16906631,"avatar_url":"https://avatars.githubusercontent.com/u/16906631?v=3","gravatar_id":"","url":"https://api.github.com/users/Bal00","html_url":"https://github.com/Bal00","followers_url":"https://api.github.com/users/Bal00/followers","following_url":"https://api.github.com/users/Bal00/following{/other_user}","gists_url":"https://api.github.com/users/Bal00/gists{/gist_id}","starred_url":"https://api.github.com/users/Bal00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bal00/subscriptions","organizations_url":"https://api.github.com/users/Bal00/orgs","repos_url":"https://api.github.com/users/Bal00/repos","events_url":"https://api.github.com/users/Bal00/events{/privacy}","received_events_url":"https://api.github.com/users/Bal00/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Bal00/cgm-remote-monitor","description":"nightscout web monitor","fork":true,"url":"https://api.github.com/repos/Bal00/cgm-remote-monitor","forks_url":"https://api.github.com/repos/Bal00/cgm-remote-monitor/forks","keys_url":"https://api.github.com/repos/Bal00/cgm-remote-monitor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Bal00/cgm-remote-monitor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Bal00/cgm-remote-monitor/teams","hooks_url":"https://api.github.com/repos/Bal00/cgm-remote-monitor/hooks","issue_events_url":"https://api.github.com/repos/Bal00/cgm-remote-monitor/issues/events{/number}","events_url":"https://api.github.com/repos/Bal00/cgm-remote-monitor/events","assignees_url":"https://api.github.com/repos/Bal00/cgm-remote-monitor/assignees{/user}","branches_url":"https://api.github.com/repos/Bal00/cgm-remote-monitor/branches{/branch}","tags_url":"https://api.github.com/repos/Bal00/cgm-remote-monitor/tags","blobs_url":"https://api.github.com/repos/Bal00/cgm-remote-monitor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Bal00/cgm-remote-monitor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Bal00/cgm-remote-monitor/git/refs{/sha}","trees_url":"https://api.github.com/repos/Bal00/cgm-remote-monitor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Bal00/cgm-remote-monitor/statuses/{sha}","languages_url":"https://api.github.com/repos/Bal00/cgm-remote-monitor/languages","stargazers_url":"https://api.github.com/repos/Bal00/cgm-remote-monitor/stargazers","contributors_url":"https://api.github.com/repos/Bal00/cgm-remote-monitor/contributors","subscribers_url":"https://api.github.com/repos/Bal00/cgm-remote-monitor/subscribers","subscription_url":"https://api.github.com/repos/Bal00/cgm-remote-monitor/subscription","commits_url":"https://api.github.com/repos/Bal00/cgm-remote-monitor/commits{/sha}","git_commits_url":"https://api.github.com/repos/Bal00/cgm-remote-monitor/git/commits{/sha}","comments_url":"https://api.github.com/repos/Bal00/cgm-remote-monitor/comments{/number}","issue_comment_url":"https://api.github.com/repos/Bal00/cgm-remote-monitor/issues/comments{/number}","contents_url":"https://api.github.com/repos/Bal00/cgm-remote-monitor/contents/{+path}","compare_url":"https://api.github.com/repos/Bal00/cgm-remote-monitor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Bal00/cgm-remote-monitor/merges","archive_url":"https://api.github.com/repos/Bal00/cgm-remote-monitor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Bal00/cgm-remote-monitor/downloads","issues_url":"https://api.github.com/repos/Bal00/cgm-remote-monitor/issues{/number}","pulls_url":"https://api.github.com/repos/Bal00/cgm-remote-monitor/pulls{/number}","milestones_url":"https://api.github.com/repos/Bal00/cgm-remote-monitor/milestones{/number}","notifications_url":"https://api.github.com/repos/Bal00/cgm-remote-monitor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Bal00/cgm-remote-monitor/labels{/name}","releases_url":"https://api.github.com/repos/Bal00/cgm-remote-monitor/releases{/id}","deployments_url":"https://api.github.com/repos/Bal00/cgm-remote-monitor/deployments","created_at":"2016-01-26T21:08:04Z","updated_at":"2016-01-26T21:08:08Z","pushed_at":"2016-05-14T21:29:19Z","git_url":"git://github.com/Bal00/cgm-remote-monitor.git","ssh_url":"git@github.com:Bal00/cgm-remote-monitor.git","clone_url":"https://github.com/Bal00/cgm-remote-monitor.git","svn_url":"https://github.com/Bal00/cgm-remote-monitor","homepage":"","size":10197,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"nightscout:master","ref":"master","sha":"e1e07e563df3e0c21045cefd823b01a2279499ed","user":{"login":"nightscout","id":7661012,"avatar_url":"https://avatars.githubusercontent.com/u/7661012?v=3","gravatar_id":"","url":"https://api.github.com/users/nightscout","html_url":"https://github.com/nightscout","followers_url":"https://api.github.com/users/nightscout/followers","following_url":"https://api.github.com/users/nightscout/following{/other_user}","gists_url":"https://api.github.com/users/nightscout/gists{/gist_id}","starred_url":"https://api.github.com/users/nightscout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nightscout/subscriptions","organizations_url":"https://api.github.com/users/nightscout/orgs","repos_url":"https://api.github.com/users/nightscout/repos","events_url":"https://api.github.com/users/nightscout/events{/privacy}","received_events_url":"https://api.github.com/users/nightscout/received_events","type":"Organization","site_admin":false},"repo":{"id":20042152,"name":"cgm-remote-monitor","full_name":"nightscout/cgm-remote-monitor","owner":{"login":"nightscout","id":7661012,"avatar_url":"https://avatars.githubusercontent.com/u/7661012?v=3","gravatar_id":"","url":"https://api.github.com/users/nightscout","html_url":"https://github.com/nightscout","followers_url":"https://api.github.com/users/nightscout/followers","following_url":"https://api.github.com/users/nightscout/following{/other_user}","gists_url":"https://api.github.com/users/nightscout/gists{/gist_id}","starred_url":"https://api.github.com/users/nightscout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nightscout/subscriptions","organizations_url":"https://api.github.com/users/nightscout/orgs","repos_url":"https://api.github.com/users/nightscout/repos","events_url":"https://api.github.com/users/nightscout/events{/privacy}","received_events_url":"https://api.github.com/users/nightscout/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nightscout/cgm-remote-monitor","description":"nightscout web monitor","fork":false,"url":"https://api.github.com/repos/nightscout/cgm-remote-monitor","forks_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/forks","keys_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/teams","hooks_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/hooks","issue_events_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/issues/events{/number}","events_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/events","assignees_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/assignees{/user}","branches_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/branches{/branch}","tags_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/tags","blobs_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/git/refs{/sha}","trees_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/statuses/{sha}","languages_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/languages","stargazers_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/stargazers","contributors_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/contributors","subscribers_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/subscribers","subscription_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/subscription","commits_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/commits{/sha}","git_commits_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/git/commits{/sha}","comments_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/comments{/number}","issue_comment_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/issues/comments{/number}","contents_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/contents/{+path}","compare_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/merges","archive_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/downloads","issues_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/issues{/number}","pulls_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/pulls{/number}","milestones_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/milestones{/number}","notifications_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/labels{/name}","releases_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/releases{/id}","deployments_url":"https://api.github.com/repos/nightscout/cgm-remote-monitor/deployments","created_at":"2014-05-22T00:32:28Z","updated_at":"2016-05-14T03:38:47Z","pushed_at":"2016-05-14T21:46:08Z","git_url":"git://github.com/nightscout/cgm-remote-monitor.git","ssh_url":"git@github.com:nightscout/cgm-remote-monitor.git","clone_url":"https://github.com/nightscout/cgm-remote-monitor.git","svn_url":"https://github.com/nightscout/cgm-remote-monitor","homepage":"","size":14892,"stargazers_count":175,"watchers_count":175,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5090,"mirror_url":null,"open_issues_count":90,"forks":5090,"open_issues":90,"watchers":175,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nightscout/cgm-remote-monitor/pulls/1732"},"html":{"href":"https://github.com/nightscout/cgm-remote-monitor/pull/1732"},"issue":{"href":"https://api.github.com/repos/nightscout/cgm-remote-monitor/issues/1732"},"comments":{"href":"https://api.github.com/repos/nightscout/cgm-remote-monitor/issues/1732/comments"},"review_comments":{"href":"https://api.github.com/repos/nightscout/cgm-remote-monitor/pulls/1732/comments"},"review_comment":{"href":"https://api.github.com/repos/nightscout/cgm-remote-monitor/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nightscout/cgm-remote-monitor/pulls/1732/commits"},"statuses":{"href":"https://api.github.com/repos/nightscout/cgm-remote-monitor/statuses/cec19fc06b7e528873cdee94c315a6084f082e94"}}}}