{"action":"created","comment":{"url":"https://api.github.com/repos/chingventures/sandbox_bank/pulls/comments/80906295","pull_request_review_id":1925752,"id":80906295,"diff_hunk":"@@ -23,13 +23,12 @@ defmodule SandboxBank.Router do\n     pipe_through :api\n \n     get \"/customers/me\", CustomerController, :me\n-    get \"/customers/addresses\", CustomerController, :show_address\n-    put \"/customers/addresses\", CustomerController, :add_address\n-    delete \"/customers/addresses\", CustomerController, :delete_address\n-    get \"/customers/accounts\", CustomerController, :show_account\n-    put \"/customers/accounts\", CustomerController, :add_account\n-    delete \"/customers/accounts\", CustomerController, :delete_account\n-    resources \"/customers\", CustomerController, only: [:show]\n+    get \"/customers/:id\", CustomerController, :show\n+    get \"/customers/:id/accounts\", CustomerController, :show_account\n+    get \"/customers/:id/addresses\", CustomerController, :show_address\n+\n+    put \"/customers/:id/addresses\", CustomerController, :add_address","path":"web/router.ex","position":15,"original_position":15,"commit_id":"38f7672a78e61c66015900dcde26346392c2b7f9","original_commit_id":"38f7672a78e61c66015900dcde26346392c2b7f9","user":{"login":"ammbot","id":2728173,"avatar_url":"https://avatars.githubusercontent.com/u/2728173?v=3","gravatar_id":"","url":"https://api.github.com/users/ammbot","html_url":"https://github.com/ammbot","followers_url":"https://api.github.com/users/ammbot/followers","following_url":"https://api.github.com/users/ammbot/following{/other_user}","gists_url":"https://api.github.com/users/ammbot/gists{/gist_id}","starred_url":"https://api.github.com/users/ammbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ammbot/subscriptions","organizations_url":"https://api.github.com/users/ammbot/orgs","repos_url":"https://api.github.com/users/ammbot/repos","events_url":"https://api.github.com/users/ammbot/events{/privacy}","received_events_url":"https://api.github.com/users/ammbot/received_events","type":"User","site_admin":false},"body":"We can use `customer_id` from auth0 token","created_at":"2016-09-28T12:44:55Z","updated_at":"2016-09-28T12:44:55Z","html_url":"https://github.com/chingventures/sandbox_bank/pull/2#discussion_r80906295","pull_request_url":"https://api.github.com/repos/chingventures/sandbox_bank/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/chingventures/sandbox_bank/pulls/comments/80906295"},"html":{"href":"https://github.com/chingventures/sandbox_bank/pull/2#discussion_r80906295"},"pull_request":{"href":"https://api.github.com/repos/chingventures/sandbox_bank/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/chingventures/sandbox_bank/pulls/2","id":86729060,"html_url":"https://github.com/chingventures/sandbox_bank/pull/2","diff_url":"https://github.com/chingventures/sandbox_bank/pull/2.diff","patch_url":"https://github.com/chingventures/sandbox_bank/pull/2.patch","issue_url":"https://api.github.com/repos/chingventures/sandbox_bank/issues/2","number":2,"state":"open","locked":false,"title":"Auth0","user":{"login":"ammbot","id":2728173,"avatar_url":"https://avatars.githubusercontent.com/u/2728173?v=3","gravatar_id":"","url":"https://api.github.com/users/ammbot","html_url":"https://github.com/ammbot","followers_url":"https://api.github.com/users/ammbot/followers","following_url":"https://api.github.com/users/ammbot/following{/other_user}","gists_url":"https://api.github.com/users/ammbot/gists{/gist_id}","starred_url":"https://api.github.com/users/ammbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ammbot/subscriptions","organizations_url":"https://api.github.com/users/ammbot/orgs","repos_url":"https://api.github.com/users/ammbot/repos","events_url":"https://api.github.com/users/ammbot/events{/privacy}","received_events_url":"https://api.github.com/users/ammbot/received_events","type":"User","site_admin":false},"body":"- change endpoint in customers add :uuid in endpoint.\r\n- remove newline typo\r\n- change `customer` primary key to `Auth0 user_id`","created_at":"2016-09-26T12:00:35Z","updated_at":"2016-09-28T12:44:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5627d8173a195b2450e730c87039aa7aa15c9bcd","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/chingventures/sandbox_bank/pulls/2/commits","review_comments_url":"https://api.github.com/repos/chingventures/sandbox_bank/pulls/2/comments","review_comment_url":"https://api.github.com/repos/chingventures/sandbox_bank/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chingventures/sandbox_bank/issues/2/comments","statuses_url":"https://api.github.com/repos/chingventures/sandbox_bank/statuses/38f7672a78e61c66015900dcde26346392c2b7f9","head":{"label":"chingventures:auth0","ref":"auth0","sha":"38f7672a78e61c66015900dcde26346392c2b7f9","user":{"login":"chingventures","id":19295266,"avatar_url":"https://avatars.githubusercontent.com/u/19295266?v=3","gravatar_id":"","url":"https://api.github.com/users/chingventures","html_url":"https://github.com/chingventures","followers_url":"https://api.github.com/users/chingventures/followers","following_url":"https://api.github.com/users/chingventures/following{/other_user}","gists_url":"https://api.github.com/users/chingventures/gists{/gist_id}","starred_url":"https://api.github.com/users/chingventures/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chingventures/subscriptions","organizations_url":"https://api.github.com/users/chingventures/orgs","repos_url":"https://api.github.com/users/chingventures/repos","events_url":"https://api.github.com/users/chingventures/events{/privacy}","received_events_url":"https://api.github.com/users/chingventures/received_events","type":"Organization","site_admin":false},"repo":{"id":68291355,"name":"sandbox_bank","full_name":"chingventures/sandbox_bank","owner":{"login":"chingventures","id":19295266,"avatar_url":"https://avatars.githubusercontent.com/u/19295266?v=3","gravatar_id":"","url":"https://api.github.com/users/chingventures","html_url":"https://github.com/chingventures","followers_url":"https://api.github.com/users/chingventures/followers","following_url":"https://api.github.com/users/chingventures/following{/other_user}","gists_url":"https://api.github.com/users/chingventures/gists{/gist_id}","starred_url":"https://api.github.com/users/chingventures/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chingventures/subscriptions","organizations_url":"https://api.github.com/users/chingventures/orgs","repos_url":"https://api.github.com/users/chingventures/repos","events_url":"https://api.github.com/users/chingventures/events{/privacy}","received_events_url":"https://api.github.com/users/chingventures/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/chingventures/sandbox_bank","description":null,"fork":false,"url":"https://api.github.com/repos/chingventures/sandbox_bank","forks_url":"https://api.github.com/repos/chingventures/sandbox_bank/forks","keys_url":"https://api.github.com/repos/chingventures/sandbox_bank/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chingventures/sandbox_bank/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chingventures/sandbox_bank/teams","hooks_url":"https://api.github.com/repos/chingventures/sandbox_bank/hooks","issue_events_url":"https://api.github.com/repos/chingventures/sandbox_bank/issues/events{/number}","events_url":"https://api.github.com/repos/chingventures/sandbox_bank/events","assignees_url":"https://api.github.com/repos/chingventures/sandbox_bank/assignees{/user}","branches_url":"https://api.github.com/repos/chingventures/sandbox_bank/branches{/branch}","tags_url":"https://api.github.com/repos/chingventures/sandbox_bank/tags","blobs_url":"https://api.github.com/repos/chingventures/sandbox_bank/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chingventures/sandbox_bank/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chingventures/sandbox_bank/git/refs{/sha}","trees_url":"https://api.github.com/repos/chingventures/sandbox_bank/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chingventures/sandbox_bank/statuses/{sha}","languages_url":"https://api.github.com/repos/chingventures/sandbox_bank/languages","stargazers_url":"https://api.github.com/repos/chingventures/sandbox_bank/stargazers","contributors_url":"https://api.github.com/repos/chingventures/sandbox_bank/contributors","subscribers_url":"https://api.github.com/repos/chingventures/sandbox_bank/subscribers","subscription_url":"https://api.github.com/repos/chingventures/sandbox_bank/subscription","commits_url":"https://api.github.com/repos/chingventures/sandbox_bank/commits{/sha}","git_commits_url":"https://api.github.com/repos/chingventures/sandbox_bank/git/commits{/sha}","comments_url":"https://api.github.com/repos/chingventures/sandbox_bank/comments{/number}","issue_comment_url":"https://api.github.com/repos/chingventures/sandbox_bank/issues/comments{/number}","contents_url":"https://api.github.com/repos/chingventures/sandbox_bank/contents/{+path}","compare_url":"https://api.github.com/repos/chingventures/sandbox_bank/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chingventures/sandbox_bank/merges","archive_url":"https://api.github.com/repos/chingventures/sandbox_bank/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chingventures/sandbox_bank/downloads","issues_url":"https://api.github.com/repos/chingventures/sandbox_bank/issues{/number}","pulls_url":"https://api.github.com/repos/chingventures/sandbox_bank/pulls{/number}","milestones_url":"https://api.github.com/repos/chingventures/sandbox_bank/milestones{/number}","notifications_url":"https://api.github.com/repos/chingventures/sandbox_bank/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chingventures/sandbox_bank/labels{/name}","releases_url":"https://api.github.com/repos/chingventures/sandbox_bank/releases{/id}","deployments_url":"https://api.github.com/repos/chingventures/sandbox_bank/deployments","created_at":"2016-09-15T12:21:22Z","updated_at":"2016-09-16T08:58:14Z","pushed_at":"2016-09-27T10:21:51Z","git_url":"git://github.com/chingventures/sandbox_bank.git","ssh_url":"git@github.com:chingventures/sandbox_bank.git","clone_url":"https://github.com/chingventures/sandbox_bank.git","svn_url":"https://github.com/chingventures/sandbox_bank","homepage":null,"size":109,"stargazers_count":0,"watchers_count":0,"language":"Elixir","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"chingventures:master","ref":"master","sha":"d2f5b01234e940591cac93add59499aa1f3a5231","user":{"login":"chingventures","id":19295266,"avatar_url":"https://avatars.githubusercontent.com/u/19295266?v=3","gravatar_id":"","url":"https://api.github.com/users/chingventures","html_url":"https://github.com/chingventures","followers_url":"https://api.github.com/users/chingventures/followers","following_url":"https://api.github.com/users/chingventures/following{/other_user}","gists_url":"https://api.github.com/users/chingventures/gists{/gist_id}","starred_url":"https://api.github.com/users/chingventures/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chingventures/subscriptions","organizations_url":"https://api.github.com/users/chingventures/orgs","repos_url":"https://api.github.com/users/chingventures/repos","events_url":"https://api.github.com/users/chingventures/events{/privacy}","received_events_url":"https://api.github.com/users/chingventures/received_events","type":"Organization","site_admin":false},"repo":{"id":68291355,"name":"sandbox_bank","full_name":"chingventures/sandbox_bank","owner":{"login":"chingventures","id":19295266,"avatar_url":"https://avatars.githubusercontent.com/u/19295266?v=3","gravatar_id":"","url":"https://api.github.com/users/chingventures","html_url":"https://github.com/chingventures","followers_url":"https://api.github.com/users/chingventures/followers","following_url":"https://api.github.com/users/chingventures/following{/other_user}","gists_url":"https://api.github.com/users/chingventures/gists{/gist_id}","starred_url":"https://api.github.com/users/chingventures/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chingventures/subscriptions","organizations_url":"https://api.github.com/users/chingventures/orgs","repos_url":"https://api.github.com/users/chingventures/repos","events_url":"https://api.github.com/users/chingventures/events{/privacy}","received_events_url":"https://api.github.com/users/chingventures/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/chingventures/sandbox_bank","description":null,"fork":false,"url":"https://api.github.com/repos/chingventures/sandbox_bank","forks_url":"https://api.github.com/repos/chingventures/sandbox_bank/forks","keys_url":"https://api.github.com/repos/chingventures/sandbox_bank/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chingventures/sandbox_bank/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chingventures/sandbox_bank/teams","hooks_url":"https://api.github.com/repos/chingventures/sandbox_bank/hooks","issue_events_url":"https://api.github.com/repos/chingventures/sandbox_bank/issues/events{/number}","events_url":"https://api.github.com/repos/chingventures/sandbox_bank/events","assignees_url":"https://api.github.com/repos/chingventures/sandbox_bank/assignees{/user}","branches_url":"https://api.github.com/repos/chingventures/sandbox_bank/branches{/branch}","tags_url":"https://api.github.com/repos/chingventures/sandbox_bank/tags","blobs_url":"https://api.github.com/repos/chingventures/sandbox_bank/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chingventures/sandbox_bank/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chingventures/sandbox_bank/git/refs{/sha}","trees_url":"https://api.github.com/repos/chingventures/sandbox_bank/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chingventures/sandbox_bank/statuses/{sha}","languages_url":"https://api.github.com/repos/chingventures/sandbox_bank/languages","stargazers_url":"https://api.github.com/repos/chingventures/sandbox_bank/stargazers","contributors_url":"https://api.github.com/repos/chingventures/sandbox_bank/contributors","subscribers_url":"https://api.github.com/repos/chingventures/sandbox_bank/subscribers","subscription_url":"https://api.github.com/repos/chingventures/sandbox_bank/subscription","commits_url":"https://api.github.com/repos/chingventures/sandbox_bank/commits{/sha}","git_commits_url":"https://api.github.com/repos/chingventures/sandbox_bank/git/commits{/sha}","comments_url":"https://api.github.com/repos/chingventures/sandbox_bank/comments{/number}","issue_comment_url":"https://api.github.com/repos/chingventures/sandbox_bank/issues/comments{/number}","contents_url":"https://api.github.com/repos/chingventures/sandbox_bank/contents/{+path}","compare_url":"https://api.github.com/repos/chingventures/sandbox_bank/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chingventures/sandbox_bank/merges","archive_url":"https://api.github.com/repos/chingventures/sandbox_bank/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chingventures/sandbox_bank/downloads","issues_url":"https://api.github.com/repos/chingventures/sandbox_bank/issues{/number}","pulls_url":"https://api.github.com/repos/chingventures/sandbox_bank/pulls{/number}","milestones_url":"https://api.github.com/repos/chingventures/sandbox_bank/milestones{/number}","notifications_url":"https://api.github.com/repos/chingventures/sandbox_bank/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chingventures/sandbox_bank/labels{/name}","releases_url":"https://api.github.com/repos/chingventures/sandbox_bank/releases{/id}","deployments_url":"https://api.github.com/repos/chingventures/sandbox_bank/deployments","created_at":"2016-09-15T12:21:22Z","updated_at":"2016-09-16T08:58:14Z","pushed_at":"2016-09-27T10:21:51Z","git_url":"git://github.com/chingventures/sandbox_bank.git","ssh_url":"git@github.com:chingventures/sandbox_bank.git","clone_url":"https://github.com/chingventures/sandbox_bank.git","svn_url":"https://github.com/chingventures/sandbox_bank","homepage":null,"size":109,"stargazers_count":0,"watchers_count":0,"language":"Elixir","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chingventures/sandbox_bank/pulls/2"},"html":{"href":"https://github.com/chingventures/sandbox_bank/pull/2"},"issue":{"href":"https://api.github.com/repos/chingventures/sandbox_bank/issues/2"},"comments":{"href":"https://api.github.com/repos/chingventures/sandbox_bank/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/chingventures/sandbox_bank/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/chingventures/sandbox_bank/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chingventures/sandbox_bank/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/chingventures/sandbox_bank/statuses/38f7672a78e61c66015900dcde26346392c2b7f9"}}}}
{"actor":{"display_login":"ammbot"}}