{"action":"created","comment":{"url":"https://api.github.com/repos/tickbin/tickbin/pulls/comments/61617045","id":61617045,"diff_hunk":"@@ -30,9 +29,8 @@ function register(yargs) {\n     if (err)\n       throw err\n     \n-\n     server.register(user)\n-    .then(user => setConfig('remote', user.couch.url))\n+    .then(user => account.setUser(user))","path":"src/commands/tick-register.js","position":17,"original_position":17,"commit_id":"44f8ad22b9c3cc8b51f88e997f86e8c0456aec56","original_commit_id":"44f8ad22b9c3cc8b51f88e997f86e8c0456aec56","user":{"login":"chrisfosterelli","id":2072672,"avatar_url":"https://avatars.githubusercontent.com/u/2072672?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisfosterelli","html_url":"https://github.com/chrisfosterelli","followers_url":"https://api.github.com/users/chrisfosterelli/followers","following_url":"https://api.github.com/users/chrisfosterelli/following{/other_user}","gists_url":"https://api.github.com/users/chrisfosterelli/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisfosterelli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisfosterelli/subscriptions","organizations_url":"https://api.github.com/users/chrisfosterelli/orgs","repos_url":"https://api.github.com/users/chrisfosterelli/repos","events_url":"https://api.github.com/users/chrisfosterelli/events{/privacy}","received_events_url":"https://api.github.com/users/chrisfosterelli/received_events","type":"User","site_admin":false},"body":"We can do that, but I'm not sure what useful information that would provide to the user. I imagine that, for the average use case, they likely wouldn't know what that is added for or what they should do with the information that it affected N documents. Thoughts?","created_at":"2016-04-29T17:38:39Z","updated_at":"2016-04-29T17:38:39Z","html_url":"https://github.com/tickbin/tickbin/pull/181#discussion_r61617045","pull_request_url":"https://api.github.com/repos/tickbin/tickbin/pulls/181","_links":{"self":{"href":"https://api.github.com/repos/tickbin/tickbin/pulls/comments/61617045"},"html":{"href":"https://github.com/tickbin/tickbin/pull/181#discussion_r61617045"},"pull_request":{"href":"https://api.github.com/repos/tickbin/tickbin/pulls/181"}}},"pull_request":{"url":"https://api.github.com/repos/tickbin/tickbin/pulls/181","id":68290306,"html_url":"https://github.com/tickbin/tickbin/pull/181","diff_url":"https://github.com/tickbin/tickbin/pull/181.diff","patch_url":"https://github.com/tickbin/tickbin/pull/181.patch","issue_url":"https://api.github.com/repos/tickbin/tickbin/issues/181","number":181,"state":"open","locked":false,"title":"Add user ID to entries","user":{"login":"chrisfosterelli","id":2072672,"avatar_url":"https://avatars.githubusercontent.com/u/2072672?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisfosterelli","html_url":"https://github.com/chrisfosterelli","followers_url":"https://api.github.com/users/chrisfosterelli/followers","following_url":"https://api.github.com/users/chrisfosterelli/following{/other_user}","gists_url":"https://api.github.com/users/chrisfosterelli/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisfosterelli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisfosterelli/subscriptions","organizations_url":"https://api.github.com/users/chrisfosterelli/orgs","repos_url":"https://api.github.com/users/chrisfosterelli/repos","events_url":"https://api.github.com/users/chrisfosterelli/events{/privacy}","received_events_url":"https://api.github.com/users/chrisfosterelli/received_events","type":"User","site_admin":false},"body":"This adds the user's ID to every entry they create. On login and registration, it also updates the current set of entries to use the user's ID.\r\n\r\nI haven't worked on the client in a while, anyone in @tickbin/core want to give this a review?\r\n\r\nResolves #178 \r\nResolves #177","created_at":"2016-04-28T21:04:44Z","updated_at":"2016-04-29T17:38:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cb5dde1e8282a695cd8e0c5f835c7c27802f6a18","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tickbin/tickbin/pulls/181/commits","review_comments_url":"https://api.github.com/repos/tickbin/tickbin/pulls/181/comments","review_comment_url":"https://api.github.com/repos/tickbin/tickbin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tickbin/tickbin/issues/181/comments","statuses_url":"https://api.github.com/repos/tickbin/tickbin/statuses/44f8ad22b9c3cc8b51f88e997f86e8c0456aec56","head":{"label":"chrisfosterelli:add-user-id","ref":"add-user-id","sha":"44f8ad22b9c3cc8b51f88e997f86e8c0456aec56","user":{"login":"chrisfosterelli","id":2072672,"avatar_url":"https://avatars.githubusercontent.com/u/2072672?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisfosterelli","html_url":"https://github.com/chrisfosterelli","followers_url":"https://api.github.com/users/chrisfosterelli/followers","following_url":"https://api.github.com/users/chrisfosterelli/following{/other_user}","gists_url":"https://api.github.com/users/chrisfosterelli/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisfosterelli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisfosterelli/subscriptions","organizations_url":"https://api.github.com/users/chrisfosterelli/orgs","repos_url":"https://api.github.com/users/chrisfosterelli/repos","events_url":"https://api.github.com/users/chrisfosterelli/events{/privacy}","received_events_url":"https://api.github.com/users/chrisfosterelli/received_events","type":"User","site_admin":false},"repo":{"id":54161483,"name":"tickbin","full_name":"chrisfosterelli/tickbin","owner":{"login":"chrisfosterelli","id":2072672,"avatar_url":"https://avatars.githubusercontent.com/u/2072672?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisfosterelli","html_url":"https://github.com/chrisfosterelli","followers_url":"https://api.github.com/users/chrisfosterelli/followers","following_url":"https://api.github.com/users/chrisfosterelli/following{/other_user}","gists_url":"https://api.github.com/users/chrisfosterelli/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisfosterelli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisfosterelli/subscriptions","organizations_url":"https://api.github.com/users/chrisfosterelli/orgs","repos_url":"https://api.github.com/users/chrisfosterelli/repos","events_url":"https://api.github.com/users/chrisfosterelli/events{/privacy}","received_events_url":"https://api.github.com/users/chrisfosterelli/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chrisfosterelli/tickbin","description":"a great time tracking tool","fork":true,"url":"https://api.github.com/repos/chrisfosterelli/tickbin","forks_url":"https://api.github.com/repos/chrisfosterelli/tickbin/forks","keys_url":"https://api.github.com/repos/chrisfosterelli/tickbin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chrisfosterelli/tickbin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chrisfosterelli/tickbin/teams","hooks_url":"https://api.github.com/repos/chrisfosterelli/tickbin/hooks","issue_events_url":"https://api.github.com/repos/chrisfosterelli/tickbin/issues/events{/number}","events_url":"https://api.github.com/repos/chrisfosterelli/tickbin/events","assignees_url":"https://api.github.com/repos/chrisfosterelli/tickbin/assignees{/user}","branches_url":"https://api.github.com/repos/chrisfosterelli/tickbin/branches{/branch}","tags_url":"https://api.github.com/repos/chrisfosterelli/tickbin/tags","blobs_url":"https://api.github.com/repos/chrisfosterelli/tickbin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chrisfosterelli/tickbin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chrisfosterelli/tickbin/git/refs{/sha}","trees_url":"https://api.github.com/repos/chrisfosterelli/tickbin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chrisfosterelli/tickbin/statuses/{sha}","languages_url":"https://api.github.com/repos/chrisfosterelli/tickbin/languages","stargazers_url":"https://api.github.com/repos/chrisfosterelli/tickbin/stargazers","contributors_url":"https://api.github.com/repos/chrisfosterelli/tickbin/contributors","subscribers_url":"https://api.github.com/repos/chrisfosterelli/tickbin/subscribers","subscription_url":"https://api.github.com/repos/chrisfosterelli/tickbin/subscription","commits_url":"https://api.github.com/repos/chrisfosterelli/tickbin/commits{/sha}","git_commits_url":"https://api.github.com/repos/chrisfosterelli/tickbin/git/commits{/sha}","comments_url":"https://api.github.com/repos/chrisfosterelli/tickbin/comments{/number}","issue_comment_url":"https://api.github.com/repos/chrisfosterelli/tickbin/issues/comments{/number}","contents_url":"https://api.github.com/repos/chrisfosterelli/tickbin/contents/{+path}","compare_url":"https://api.github.com/repos/chrisfosterelli/tickbin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chrisfosterelli/tickbin/merges","archive_url":"https://api.github.com/repos/chrisfosterelli/tickbin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chrisfosterelli/tickbin/downloads","issues_url":"https://api.github.com/repos/chrisfosterelli/tickbin/issues{/number}","pulls_url":"https://api.github.com/repos/chrisfosterelli/tickbin/pulls{/number}","milestones_url":"https://api.github.com/repos/chrisfosterelli/tickbin/milestones{/number}","notifications_url":"https://api.github.com/repos/chrisfosterelli/tickbin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chrisfosterelli/tickbin/labels{/name}","releases_url":"https://api.github.com/repos/chrisfosterelli/tickbin/releases{/id}","deployments_url":"https://api.github.com/repos/chrisfosterelli/tickbin/deployments","created_at":"2016-03-18T00:51:22Z","updated_at":"2016-03-18T00:51:22Z","pushed_at":"2016-04-28T21:03:47Z","git_url":"git://github.com/chrisfosterelli/tickbin.git","ssh_url":"git@github.com:chrisfosterelli/tickbin.git","clone_url":"https://github.com/chrisfosterelli/tickbin.git","svn_url":"https://github.com/chrisfosterelli/tickbin","homepage":"https://tickbin.com","size":239,"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":"tickbin:master","ref":"master","sha":"e3f5da6b62bad7f37dccd35f5093798ade09f131","user":{"login":"tickbin","id":17791512,"avatar_url":"https://avatars.githubusercontent.com/u/17791512?v=3","gravatar_id":"","url":"https://api.github.com/users/tickbin","html_url":"https://github.com/tickbin","followers_url":"https://api.github.com/users/tickbin/followers","following_url":"https://api.github.com/users/tickbin/following{/other_user}","gists_url":"https://api.github.com/users/tickbin/gists{/gist_id}","starred_url":"https://api.github.com/users/tickbin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tickbin/subscriptions","organizations_url":"https://api.github.com/users/tickbin/orgs","repos_url":"https://api.github.com/users/tickbin/repos","events_url":"https://api.github.com/users/tickbin/events{/privacy}","received_events_url":"https://api.github.com/users/tickbin/received_events","type":"Organization","site_admin":false},"repo":{"id":42747892,"name":"tickbin","full_name":"tickbin/tickbin","owner":{"login":"tickbin","id":17791512,"avatar_url":"https://avatars.githubusercontent.com/u/17791512?v=3","gravatar_id":"","url":"https://api.github.com/users/tickbin","html_url":"https://github.com/tickbin","followers_url":"https://api.github.com/users/tickbin/followers","following_url":"https://api.github.com/users/tickbin/following{/other_user}","gists_url":"https://api.github.com/users/tickbin/gists{/gist_id}","starred_url":"https://api.github.com/users/tickbin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tickbin/subscriptions","organizations_url":"https://api.github.com/users/tickbin/orgs","repos_url":"https://api.github.com/users/tickbin/repos","events_url":"https://api.github.com/users/tickbin/events{/privacy}","received_events_url":"https://api.github.com/users/tickbin/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tickbin/tickbin","description":"a great time tracking tool","fork":false,"url":"https://api.github.com/repos/tickbin/tickbin","forks_url":"https://api.github.com/repos/tickbin/tickbin/forks","keys_url":"https://api.github.com/repos/tickbin/tickbin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tickbin/tickbin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tickbin/tickbin/teams","hooks_url":"https://api.github.com/repos/tickbin/tickbin/hooks","issue_events_url":"https://api.github.com/repos/tickbin/tickbin/issues/events{/number}","events_url":"https://api.github.com/repos/tickbin/tickbin/events","assignees_url":"https://api.github.com/repos/tickbin/tickbin/assignees{/user}","branches_url":"https://api.github.com/repos/tickbin/tickbin/branches{/branch}","tags_url":"https://api.github.com/repos/tickbin/tickbin/tags","blobs_url":"https://api.github.com/repos/tickbin/tickbin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tickbin/tickbin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tickbin/tickbin/git/refs{/sha}","trees_url":"https://api.github.com/repos/tickbin/tickbin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tickbin/tickbin/statuses/{sha}","languages_url":"https://api.github.com/repos/tickbin/tickbin/languages","stargazers_url":"https://api.github.com/repos/tickbin/tickbin/stargazers","contributors_url":"https://api.github.com/repos/tickbin/tickbin/contributors","subscribers_url":"https://api.github.com/repos/tickbin/tickbin/subscribers","subscription_url":"https://api.github.com/repos/tickbin/tickbin/subscription","commits_url":"https://api.github.com/repos/tickbin/tickbin/commits{/sha}","git_commits_url":"https://api.github.com/repos/tickbin/tickbin/git/commits{/sha}","comments_url":"https://api.github.com/repos/tickbin/tickbin/comments{/number}","issue_comment_url":"https://api.github.com/repos/tickbin/tickbin/issues/comments{/number}","contents_url":"https://api.github.com/repos/tickbin/tickbin/contents/{+path}","compare_url":"https://api.github.com/repos/tickbin/tickbin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tickbin/tickbin/merges","archive_url":"https://api.github.com/repos/tickbin/tickbin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tickbin/tickbin/downloads","issues_url":"https://api.github.com/repos/tickbin/tickbin/issues{/number}","pulls_url":"https://api.github.com/repos/tickbin/tickbin/pulls{/number}","milestones_url":"https://api.github.com/repos/tickbin/tickbin/milestones{/number}","notifications_url":"https://api.github.com/repos/tickbin/tickbin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tickbin/tickbin/labels{/name}","releases_url":"https://api.github.com/repos/tickbin/tickbin/releases{/id}","deployments_url":"https://api.github.com/repos/tickbin/tickbin/deployments","created_at":"2015-09-18T21:28:24Z","updated_at":"2016-04-02T04:54:24Z","pushed_at":"2016-04-29T15:22:31Z","git_url":"git://github.com/tickbin/tickbin.git","ssh_url":"git@github.com:tickbin/tickbin.git","clone_url":"https://github.com/tickbin/tickbin.git","svn_url":"https://github.com/tickbin/tickbin","homepage":"https://tickbin.com","size":240,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":23,"forks":4,"open_issues":23,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tickbin/tickbin/pulls/181"},"html":{"href":"https://github.com/tickbin/tickbin/pull/181"},"issue":{"href":"https://api.github.com/repos/tickbin/tickbin/issues/181"},"comments":{"href":"https://api.github.com/repos/tickbin/tickbin/issues/181/comments"},"review_comments":{"href":"https://api.github.com/repos/tickbin/tickbin/pulls/181/comments"},"review_comment":{"href":"https://api.github.com/repos/tickbin/tickbin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tickbin/tickbin/pulls/181/commits"},"statuses":{"href":"https://api.github.com/repos/tickbin/tickbin/statuses/44f8ad22b9c3cc8b51f88e997f86e8c0456aec56"}}}}