{"action":"created","comment":{"url":"https://api.github.com/repos/praekelt/go-ndoh/pulls/comments/40054577","id":40054577,"diff_hunk":"@@ -1895,7 +1879,6 @@ describe(\"app\", function() {\n                             assert.deepEqual(metrics['test.clinic.avg.sessions_to_register'].values, [5]);\n                             assert.deepEqual(metrics['test.clinic.percent_incomplete_registrations'].values, [25]);\n                             assert.deepEqual(metrics['test.clinic.percent_complete_registrations'].values, [75]);\n-                            assert.deepEqual(metrics['test.sum.subscriptions'].values, [1]);","path":"test/clinic.test.js","position":49,"original_position":49,"commit_id":"5affffd5ecda976414a6564e8ed4af38cdc35277","original_commit_id":"5affffd5ecda976414a6564e8ed4af38cdc35277","user":{"login":"gsvr","id":3907663,"avatar_url":"https://avatars.githubusercontent.com/u/3907663?v=3","gravatar_id":"","url":"https://api.github.com/users/gsvr","html_url":"https://github.com/gsvr","followers_url":"https://api.github.com/users/gsvr/followers","following_url":"https://api.github.com/users/gsvr/following{/other_user}","gists_url":"https://api.github.com/users/gsvr/gists{/gist_id}","starred_url":"https://api.github.com/users/gsvr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gsvr/subscriptions","organizations_url":"https://api.github.com/users/gsvr/orgs","repos_url":"https://api.github.com/users/gsvr/repos","events_url":"https://api.github.com/users/gsvr/events{/privacy}","received_events_url":"https://api.github.com/users/gsvr/received_events","type":"User","site_admin":false},"body":"I already did (#92)","created_at":"2015-09-22T05:50:32Z","updated_at":"2015-09-22T05:50:32Z","html_url":"https://github.com/praekelt/go-ndoh/pull/190#discussion_r40054577","pull_request_url":"https://api.github.com/repos/praekelt/go-ndoh/pulls/190","_links":{"self":{"href":"https://api.github.com/repos/praekelt/go-ndoh/pulls/comments/40054577"},"html":{"href":"https://github.com/praekelt/go-ndoh/pull/190#discussion_r40054577"},"pull_request":{"href":"https://api.github.com/repos/praekelt/go-ndoh/pulls/190"}}},"pull_request":{"url":"https://api.github.com/repos/praekelt/go-ndoh/pulls/190","id":44419311,"html_url":"https://github.com/praekelt/go-ndoh/pull/190","diff_url":"https://github.com/praekelt/go-ndoh/pull/190.diff","patch_url":"https://github.com/praekelt/go-ndoh/pull/190.patch","issue_url":"https://api.github.com/repos/praekelt/go-ndoh/issues/190","number":190,"state":"open","locked":false,"title":"Update subscription calls","user":{"login":"gsvr","id":3907663,"avatar_url":"https://avatars.githubusercontent.com/u/3907663?v=3","gravatar_id":"","url":"https://api.github.com/users/gsvr","html_url":"https://github.com/gsvr","followers_url":"https://api.github.com/users/gsvr/followers","following_url":"https://api.github.com/users/gsvr/following{/other_user}","gists_url":"https://api.github.com/users/gsvr/gists{/gist_id}","starred_url":"https://api.github.com/users/gsvr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gsvr/subscriptions","organizations_url":"https://api.github.com/users/gsvr/orgs","repos_url":"https://api.github.com/users/gsvr/repos","events_url":"https://api.github.com/users/gsvr/events{/privacy}","received_events_url":"https://api.github.com/users/gsvr/received_events","type":"User","site_admin":false},"body":"- [x] Remove utils that can be implemented in Python\r\n- [x] Hit new Control Registrations endpoint","created_at":"2015-09-08T11:08:39Z","updated_at":"2015-09-22T05:50:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"99d94cb795a2a173f92f422605a6a3e8e354283a","assignee":{"login":"gsvr","id":3907663,"avatar_url":"https://avatars.githubusercontent.com/u/3907663?v=3","gravatar_id":"","url":"https://api.github.com/users/gsvr","html_url":"https://github.com/gsvr","followers_url":"https://api.github.com/users/gsvr/followers","following_url":"https://api.github.com/users/gsvr/following{/other_user}","gists_url":"https://api.github.com/users/gsvr/gists{/gist_id}","starred_url":"https://api.github.com/users/gsvr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gsvr/subscriptions","organizations_url":"https://api.github.com/users/gsvr/orgs","repos_url":"https://api.github.com/users/gsvr/repos","events_url":"https://api.github.com/users/gsvr/events{/privacy}","received_events_url":"https://api.github.com/users/gsvr/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/praekelt/go-ndoh/pulls/190/commits","review_comments_url":"https://api.github.com/repos/praekelt/go-ndoh/pulls/190/comments","review_comment_url":"https://api.github.com/repos/praekelt/go-ndoh/pulls/comments{/number}","comments_url":"https://api.github.com/repos/praekelt/go-ndoh/issues/190/comments","statuses_url":"https://api.github.com/repos/praekelt/go-ndoh/statuses/5affffd5ecda976414a6564e8ed4af38cdc35277","head":{"label":"praekelt:feature/issue-190-update-subscription-calls","ref":"feature/issue-190-update-subscription-calls","sha":"5affffd5ecda976414a6564e8ed4af38cdc35277","user":{"login":"praekelt","id":81810,"avatar_url":"https://avatars.githubusercontent.com/u/81810?v=3","gravatar_id":"","url":"https://api.github.com/users/praekelt","html_url":"https://github.com/praekelt","followers_url":"https://api.github.com/users/praekelt/followers","following_url":"https://api.github.com/users/praekelt/following{/other_user}","gists_url":"https://api.github.com/users/praekelt/gists{/gist_id}","starred_url":"https://api.github.com/users/praekelt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/praekelt/subscriptions","organizations_url":"https://api.github.com/users/praekelt/orgs","repos_url":"https://api.github.com/users/praekelt/repos","events_url":"https://api.github.com/users/praekelt/events{/privacy}","received_events_url":"https://api.github.com/users/praekelt/received_events","type":"Organization","site_admin":false},"repo":{"id":12926446,"name":"go-ndoh","full_name":"praekelt/go-ndoh","owner":{"login":"praekelt","id":81810,"avatar_url":"https://avatars.githubusercontent.com/u/81810?v=3","gravatar_id":"","url":"https://api.github.com/users/praekelt","html_url":"https://github.com/praekelt","followers_url":"https://api.github.com/users/praekelt/followers","following_url":"https://api.github.com/users/praekelt/following{/other_user}","gists_url":"https://api.github.com/users/praekelt/gists{/gist_id}","starred_url":"https://api.github.com/users/praekelt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/praekelt/subscriptions","organizations_url":"https://api.github.com/users/praekelt/orgs","repos_url":"https://api.github.com/users/praekelt/repos","events_url":"https://api.github.com/users/praekelt/events{/privacy}","received_events_url":"https://api.github.com/users/praekelt/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/praekelt/go-ndoh","description":"South African NDoH MomConnect program","fork":false,"url":"https://api.github.com/repos/praekelt/go-ndoh","forks_url":"https://api.github.com/repos/praekelt/go-ndoh/forks","keys_url":"https://api.github.com/repos/praekelt/go-ndoh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/praekelt/go-ndoh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/praekelt/go-ndoh/teams","hooks_url":"https://api.github.com/repos/praekelt/go-ndoh/hooks","issue_events_url":"https://api.github.com/repos/praekelt/go-ndoh/issues/events{/number}","events_url":"https://api.github.com/repos/praekelt/go-ndoh/events","assignees_url":"https://api.github.com/repos/praekelt/go-ndoh/assignees{/user}","branches_url":"https://api.github.com/repos/praekelt/go-ndoh/branches{/branch}","tags_url":"https://api.github.com/repos/praekelt/go-ndoh/tags","blobs_url":"https://api.github.com/repos/praekelt/go-ndoh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/praekelt/go-ndoh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/praekelt/go-ndoh/git/refs{/sha}","trees_url":"https://api.github.com/repos/praekelt/go-ndoh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/praekelt/go-ndoh/statuses/{sha}","languages_url":"https://api.github.com/repos/praekelt/go-ndoh/languages","stargazers_url":"https://api.github.com/repos/praekelt/go-ndoh/stargazers","contributors_url":"https://api.github.com/repos/praekelt/go-ndoh/contributors","subscribers_url":"https://api.github.com/repos/praekelt/go-ndoh/subscribers","subscription_url":"https://api.github.com/repos/praekelt/go-ndoh/subscription","commits_url":"https://api.github.com/repos/praekelt/go-ndoh/commits{/sha}","git_commits_url":"https://api.github.com/repos/praekelt/go-ndoh/git/commits{/sha}","comments_url":"https://api.github.com/repos/praekelt/go-ndoh/comments{/number}","issue_comment_url":"https://api.github.com/repos/praekelt/go-ndoh/issues/comments{/number}","contents_url":"https://api.github.com/repos/praekelt/go-ndoh/contents/{+path}","compare_url":"https://api.github.com/repos/praekelt/go-ndoh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/praekelt/go-ndoh/merges","archive_url":"https://api.github.com/repos/praekelt/go-ndoh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/praekelt/go-ndoh/downloads","issues_url":"https://api.github.com/repos/praekelt/go-ndoh/issues{/number}","pulls_url":"https://api.github.com/repos/praekelt/go-ndoh/pulls{/number}","milestones_url":"https://api.github.com/repos/praekelt/go-ndoh/milestones{/number}","notifications_url":"https://api.github.com/repos/praekelt/go-ndoh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/praekelt/go-ndoh/labels{/name}","releases_url":"https://api.github.com/repos/praekelt/go-ndoh/releases{/id}","created_at":"2013-09-18T15:11:51Z","updated_at":"2015-04-16T11:03:49Z","pushed_at":"2015-09-15T08:39:54Z","git_url":"git://github.com/praekelt/go-ndoh.git","ssh_url":"git@github.com:praekelt/go-ndoh.git","clone_url":"https://github.com/praekelt/go-ndoh.git","svn_url":"https://github.com/praekelt/go-ndoh","homepage":"http://momconnect.co.za","size":4628,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":9,"forks":0,"open_issues":9,"watchers":0,"default_branch":"develop"}},"base":{"label":"praekelt:develop","ref":"develop","sha":"dd435493302a8ca7ae118d9dac013c16541c194c","user":{"login":"praekelt","id":81810,"avatar_url":"https://avatars.githubusercontent.com/u/81810?v=3","gravatar_id":"","url":"https://api.github.com/users/praekelt","html_url":"https://github.com/praekelt","followers_url":"https://api.github.com/users/praekelt/followers","following_url":"https://api.github.com/users/praekelt/following{/other_user}","gists_url":"https://api.github.com/users/praekelt/gists{/gist_id}","starred_url":"https://api.github.com/users/praekelt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/praekelt/subscriptions","organizations_url":"https://api.github.com/users/praekelt/orgs","repos_url":"https://api.github.com/users/praekelt/repos","events_url":"https://api.github.com/users/praekelt/events{/privacy}","received_events_url":"https://api.github.com/users/praekelt/received_events","type":"Organization","site_admin":false},"repo":{"id":12926446,"name":"go-ndoh","full_name":"praekelt/go-ndoh","owner":{"login":"praekelt","id":81810,"avatar_url":"https://avatars.githubusercontent.com/u/81810?v=3","gravatar_id":"","url":"https://api.github.com/users/praekelt","html_url":"https://github.com/praekelt","followers_url":"https://api.github.com/users/praekelt/followers","following_url":"https://api.github.com/users/praekelt/following{/other_user}","gists_url":"https://api.github.com/users/praekelt/gists{/gist_id}","starred_url":"https://api.github.com/users/praekelt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/praekelt/subscriptions","organizations_url":"https://api.github.com/users/praekelt/orgs","repos_url":"https://api.github.com/users/praekelt/repos","events_url":"https://api.github.com/users/praekelt/events{/privacy}","received_events_url":"https://api.github.com/users/praekelt/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/praekelt/go-ndoh","description":"South African NDoH MomConnect program","fork":false,"url":"https://api.github.com/repos/praekelt/go-ndoh","forks_url":"https://api.github.com/repos/praekelt/go-ndoh/forks","keys_url":"https://api.github.com/repos/praekelt/go-ndoh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/praekelt/go-ndoh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/praekelt/go-ndoh/teams","hooks_url":"https://api.github.com/repos/praekelt/go-ndoh/hooks","issue_events_url":"https://api.github.com/repos/praekelt/go-ndoh/issues/events{/number}","events_url":"https://api.github.com/repos/praekelt/go-ndoh/events","assignees_url":"https://api.github.com/repos/praekelt/go-ndoh/assignees{/user}","branches_url":"https://api.github.com/repos/praekelt/go-ndoh/branches{/branch}","tags_url":"https://api.github.com/repos/praekelt/go-ndoh/tags","blobs_url":"https://api.github.com/repos/praekelt/go-ndoh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/praekelt/go-ndoh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/praekelt/go-ndoh/git/refs{/sha}","trees_url":"https://api.github.com/repos/praekelt/go-ndoh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/praekelt/go-ndoh/statuses/{sha}","languages_url":"https://api.github.com/repos/praekelt/go-ndoh/languages","stargazers_url":"https://api.github.com/repos/praekelt/go-ndoh/stargazers","contributors_url":"https://api.github.com/repos/praekelt/go-ndoh/contributors","subscribers_url":"https://api.github.com/repos/praekelt/go-ndoh/subscribers","subscription_url":"https://api.github.com/repos/praekelt/go-ndoh/subscription","commits_url":"https://api.github.com/repos/praekelt/go-ndoh/commits{/sha}","git_commits_url":"https://api.github.com/repos/praekelt/go-ndoh/git/commits{/sha}","comments_url":"https://api.github.com/repos/praekelt/go-ndoh/comments{/number}","issue_comment_url":"https://api.github.com/repos/praekelt/go-ndoh/issues/comments{/number}","contents_url":"https://api.github.com/repos/praekelt/go-ndoh/contents/{+path}","compare_url":"https://api.github.com/repos/praekelt/go-ndoh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/praekelt/go-ndoh/merges","archive_url":"https://api.github.com/repos/praekelt/go-ndoh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/praekelt/go-ndoh/downloads","issues_url":"https://api.github.com/repos/praekelt/go-ndoh/issues{/number}","pulls_url":"https://api.github.com/repos/praekelt/go-ndoh/pulls{/number}","milestones_url":"https://api.github.com/repos/praekelt/go-ndoh/milestones{/number}","notifications_url":"https://api.github.com/repos/praekelt/go-ndoh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/praekelt/go-ndoh/labels{/name}","releases_url":"https://api.github.com/repos/praekelt/go-ndoh/releases{/id}","created_at":"2013-09-18T15:11:51Z","updated_at":"2015-04-16T11:03:49Z","pushed_at":"2015-09-15T08:39:54Z","git_url":"git://github.com/praekelt/go-ndoh.git","ssh_url":"git@github.com:praekelt/go-ndoh.git","clone_url":"https://github.com/praekelt/go-ndoh.git","svn_url":"https://github.com/praekelt/go-ndoh","homepage":"http://momconnect.co.za","size":4628,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":9,"forks":0,"open_issues":9,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/praekelt/go-ndoh/pulls/190"},"html":{"href":"https://github.com/praekelt/go-ndoh/pull/190"},"issue":{"href":"https://api.github.com/repos/praekelt/go-ndoh/issues/190"},"comments":{"href":"https://api.github.com/repos/praekelt/go-ndoh/issues/190/comments"},"review_comments":{"href":"https://api.github.com/repos/praekelt/go-ndoh/pulls/190/comments"},"review_comment":{"href":"https://api.github.com/repos/praekelt/go-ndoh/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/praekelt/go-ndoh/pulls/190/commits"},"statuses":{"href":"https://api.github.com/repos/praekelt/go-ndoh/statuses/5affffd5ecda976414a6564e8ed4af38cdc35277"}}}}