{"action":"closed","number":20,"pull_request":{"url":"https://api.github.com/repos/t1msh/node-oauth20-provider/pulls/20","id":31893648,"html_url":"https://github.com/t1msh/node-oauth20-provider/pull/20","diff_url":"https://github.com/t1msh/node-oauth20-provider/pull/20.diff","patch_url":"https://github.com/t1msh/node-oauth20-provider/pull/20.patch","issue_url":"https://api.github.com/repos/t1msh/node-oauth20-provider/issues/20","number":20,"state":"closed","locked":false,"title":"Use the getClientId from the refreshToken model to access clientId","user":{"login":"jnorberg","id":67500,"avatar_url":"https://avatars.githubusercontent.com/u/67500?v=3","gravatar_id":"","url":"https://api.github.com/users/jnorberg","html_url":"https://github.com/jnorberg","followers_url":"https://api.github.com/users/jnorberg/followers","following_url":"https://api.github.com/users/jnorberg/following{/other_user}","gists_url":"https://api.github.com/users/jnorberg/gists{/gist_id}","starred_url":"https://api.github.com/users/jnorberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnorberg/subscriptions","organizations_url":"https://api.github.com/users/jnorberg/orgs","repos_url":"https://api.github.com/users/jnorberg/repos","events_url":"https://api.github.com/users/jnorberg/events{/privacy}","received_events_url":"https://api.github.com/users/jnorberg/received_events","type":"User","site_admin":false},"body":"Instead of trying to access the attribute directly, use the getClientId method to access the clientId so that you can provide the id depending on how you have your model setup. This seems consistent with other like sections.","created_at":"2015-03-25T05:01:38Z","updated_at":"2015-03-25T10:45:57Z","closed_at":"2015-03-25T10:45:57Z","merged_at":"2015-03-25T10:45:57Z","merge_commit_sha":"35978b1801782fedcdd3da3a1851c761cf4e3c5e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/t1msh/node-oauth20-provider/pulls/20/commits","review_comments_url":"https://api.github.com/repos/t1msh/node-oauth20-provider/pulls/20/comments","review_comment_url":"https://api.github.com/repos/t1msh/node-oauth20-provider/pulls/comments{/number}","comments_url":"https://api.github.com/repos/t1msh/node-oauth20-provider/issues/20/comments","statuses_url":"https://api.github.com/repos/t1msh/node-oauth20-provider/statuses/f754f60bab653730badbc2811dc2b41c129e006d","head":{"label":"jnorberg:master","ref":"master","sha":"f754f60bab653730badbc2811dc2b41c129e006d","user":{"login":"jnorberg","id":67500,"avatar_url":"https://avatars.githubusercontent.com/u/67500?v=3","gravatar_id":"","url":"https://api.github.com/users/jnorberg","html_url":"https://github.com/jnorberg","followers_url":"https://api.github.com/users/jnorberg/followers","following_url":"https://api.github.com/users/jnorberg/following{/other_user}","gists_url":"https://api.github.com/users/jnorberg/gists{/gist_id}","starred_url":"https://api.github.com/users/jnorberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnorberg/subscriptions","organizations_url":"https://api.github.com/users/jnorberg/orgs","repos_url":"https://api.github.com/users/jnorberg/repos","events_url":"https://api.github.com/users/jnorberg/events{/privacy}","received_events_url":"https://api.github.com/users/jnorberg/received_events","type":"User","site_admin":false},"repo":{"id":32843216,"name":"node-oauth20-provider","full_name":"jnorberg/node-oauth20-provider","owner":{"login":"jnorberg","id":67500,"avatar_url":"https://avatars.githubusercontent.com/u/67500?v=3","gravatar_id":"","url":"https://api.github.com/users/jnorberg","html_url":"https://github.com/jnorberg","followers_url":"https://api.github.com/users/jnorberg/followers","following_url":"https://api.github.com/users/jnorberg/following{/other_user}","gists_url":"https://api.github.com/users/jnorberg/gists{/gist_id}","starred_url":"https://api.github.com/users/jnorberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnorberg/subscriptions","organizations_url":"https://api.github.com/users/jnorberg/orgs","repos_url":"https://api.github.com/users/jnorberg/repos","events_url":"https://api.github.com/users/jnorberg/events{/privacy}","received_events_url":"https://api.github.com/users/jnorberg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jnorberg/node-oauth20-provider","description":"OAuth 2.0 provider toolkit for nodeJS, standalone server and express middleware support","fork":true,"url":"https://api.github.com/repos/jnorberg/node-oauth20-provider","forks_url":"https://api.github.com/repos/jnorberg/node-oauth20-provider/forks","keys_url":"https://api.github.com/repos/jnorberg/node-oauth20-provider/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jnorberg/node-oauth20-provider/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jnorberg/node-oauth20-provider/teams","hooks_url":"https://api.github.com/repos/jnorberg/node-oauth20-provider/hooks","issue_events_url":"https://api.github.com/repos/jnorberg/node-oauth20-provider/issues/events{/number}","events_url":"https://api.github.com/repos/jnorberg/node-oauth20-provider/events","assignees_url":"https://api.github.com/repos/jnorberg/node-oauth20-provider/assignees{/user}","branches_url":"https://api.github.com/repos/jnorberg/node-oauth20-provider/branches{/branch}","tags_url":"https://api.github.com/repos/jnorberg/node-oauth20-provider/tags","blobs_url":"https://api.github.com/repos/jnorberg/node-oauth20-provider/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jnorberg/node-oauth20-provider/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jnorberg/node-oauth20-provider/git/refs{/sha}","trees_url":"https://api.github.com/repos/jnorberg/node-oauth20-provider/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jnorberg/node-oauth20-provider/statuses/{sha}","languages_url":"https://api.github.com/repos/jnorberg/node-oauth20-provider/languages","stargazers_url":"https://api.github.com/repos/jnorberg/node-oauth20-provider/stargazers","contributors_url":"https://api.github.com/repos/jnorberg/node-oauth20-provider/contributors","subscribers_url":"https://api.github.com/repos/jnorberg/node-oauth20-provider/subscribers","subscription_url":"https://api.github.com/repos/jnorberg/node-oauth20-provider/subscription","commits_url":"https://api.github.com/repos/jnorberg/node-oauth20-provider/commits{/sha}","git_commits_url":"https://api.github.com/repos/jnorberg/node-oauth20-provider/git/commits{/sha}","comments_url":"https://api.github.com/repos/jnorberg/node-oauth20-provider/comments{/number}","issue_comment_url":"https://api.github.com/repos/jnorberg/node-oauth20-provider/issues/comments{/number}","contents_url":"https://api.github.com/repos/jnorberg/node-oauth20-provider/contents/{+path}","compare_url":"https://api.github.com/repos/jnorberg/node-oauth20-provider/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jnorberg/node-oauth20-provider/merges","archive_url":"https://api.github.com/repos/jnorberg/node-oauth20-provider/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jnorberg/node-oauth20-provider/downloads","issues_url":"https://api.github.com/repos/jnorberg/node-oauth20-provider/issues{/number}","pulls_url":"https://api.github.com/repos/jnorberg/node-oauth20-provider/pulls{/number}","milestones_url":"https://api.github.com/repos/jnorberg/node-oauth20-provider/milestones{/number}","notifications_url":"https://api.github.com/repos/jnorberg/node-oauth20-provider/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jnorberg/node-oauth20-provider/labels{/name}","releases_url":"https://api.github.com/repos/jnorberg/node-oauth20-provider/releases{/id}","created_at":"2015-03-25T04:50:59Z","updated_at":"2015-03-25T04:54:00Z","pushed_at":"2015-03-25T04:54:00Z","git_url":"git://github.com/jnorberg/node-oauth20-provider.git","ssh_url":"git@github.com:jnorberg/node-oauth20-provider.git","clone_url":"https://github.com/jnorberg/node-oauth20-provider.git","svn_url":"https://github.com/jnorberg/node-oauth20-provider","homepage":null,"size":156,"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":"t1msh:master","ref":"master","sha":"8ee898ca1fd51a29c92fff241790834545c6ae10","user":{"login":"t1msh","id":641034,"avatar_url":"https://avatars.githubusercontent.com/u/641034?v=3","gravatar_id":"","url":"https://api.github.com/users/t1msh","html_url":"https://github.com/t1msh","followers_url":"https://api.github.com/users/t1msh/followers","following_url":"https://api.github.com/users/t1msh/following{/other_user}","gists_url":"https://api.github.com/users/t1msh/gists{/gist_id}","starred_url":"https://api.github.com/users/t1msh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t1msh/subscriptions","organizations_url":"https://api.github.com/users/t1msh/orgs","repos_url":"https://api.github.com/users/t1msh/repos","events_url":"https://api.github.com/users/t1msh/events{/privacy}","received_events_url":"https://api.github.com/users/t1msh/received_events","type":"User","site_admin":false},"repo":{"id":6868108,"name":"node-oauth20-provider","full_name":"t1msh/node-oauth20-provider","owner":{"login":"t1msh","id":641034,"avatar_url":"https://avatars.githubusercontent.com/u/641034?v=3","gravatar_id":"","url":"https://api.github.com/users/t1msh","html_url":"https://github.com/t1msh","followers_url":"https://api.github.com/users/t1msh/followers","following_url":"https://api.github.com/users/t1msh/following{/other_user}","gists_url":"https://api.github.com/users/t1msh/gists{/gist_id}","starred_url":"https://api.github.com/users/t1msh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t1msh/subscriptions","organizations_url":"https://api.github.com/users/t1msh/orgs","repos_url":"https://api.github.com/users/t1msh/repos","events_url":"https://api.github.com/users/t1msh/events{/privacy}","received_events_url":"https://api.github.com/users/t1msh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/t1msh/node-oauth20-provider","description":"OAuth 2.0 provider toolkit for nodeJS, standalone server and express middleware support","fork":false,"url":"https://api.github.com/repos/t1msh/node-oauth20-provider","forks_url":"https://api.github.com/repos/t1msh/node-oauth20-provider/forks","keys_url":"https://api.github.com/repos/t1msh/node-oauth20-provider/keys{/key_id}","collaborators_url":"https://api.github.com/repos/t1msh/node-oauth20-provider/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/t1msh/node-oauth20-provider/teams","hooks_url":"https://api.github.com/repos/t1msh/node-oauth20-provider/hooks","issue_events_url":"https://api.github.com/repos/t1msh/node-oauth20-provider/issues/events{/number}","events_url":"https://api.github.com/repos/t1msh/node-oauth20-provider/events","assignees_url":"https://api.github.com/repos/t1msh/node-oauth20-provider/assignees{/user}","branches_url":"https://api.github.com/repos/t1msh/node-oauth20-provider/branches{/branch}","tags_url":"https://api.github.com/repos/t1msh/node-oauth20-provider/tags","blobs_url":"https://api.github.com/repos/t1msh/node-oauth20-provider/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/t1msh/node-oauth20-provider/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/t1msh/node-oauth20-provider/git/refs{/sha}","trees_url":"https://api.github.com/repos/t1msh/node-oauth20-provider/git/trees{/sha}","statuses_url":"https://api.github.com/repos/t1msh/node-oauth20-provider/statuses/{sha}","languages_url":"https://api.github.com/repos/t1msh/node-oauth20-provider/languages","stargazers_url":"https://api.github.com/repos/t1msh/node-oauth20-provider/stargazers","contributors_url":"https://api.github.com/repos/t1msh/node-oauth20-provider/contributors","subscribers_url":"https://api.github.com/repos/t1msh/node-oauth20-provider/subscribers","subscription_url":"https://api.github.com/repos/t1msh/node-oauth20-provider/subscription","commits_url":"https://api.github.com/repos/t1msh/node-oauth20-provider/commits{/sha}","git_commits_url":"https://api.github.com/repos/t1msh/node-oauth20-provider/git/commits{/sha}","comments_url":"https://api.github.com/repos/t1msh/node-oauth20-provider/comments{/number}","issue_comment_url":"https://api.github.com/repos/t1msh/node-oauth20-provider/issues/comments{/number}","contents_url":"https://api.github.com/repos/t1msh/node-oauth20-provider/contents/{+path}","compare_url":"https://api.github.com/repos/t1msh/node-oauth20-provider/compare/{base}...{head}","merges_url":"https://api.github.com/repos/t1msh/node-oauth20-provider/merges","archive_url":"https://api.github.com/repos/t1msh/node-oauth20-provider/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/t1msh/node-oauth20-provider/downloads","issues_url":"https://api.github.com/repos/t1msh/node-oauth20-provider/issues{/number}","pulls_url":"https://api.github.com/repos/t1msh/node-oauth20-provider/pulls{/number}","milestones_url":"https://api.github.com/repos/t1msh/node-oauth20-provider/milestones{/number}","notifications_url":"https://api.github.com/repos/t1msh/node-oauth20-provider/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/t1msh/node-oauth20-provider/labels{/name}","releases_url":"https://api.github.com/repos/t1msh/node-oauth20-provider/releases{/id}","created_at":"2012-11-26T16:10:26Z","updated_at":"2015-03-25T04:45:18Z","pushed_at":"2015-03-25T10:45:58Z","git_url":"git://github.com/t1msh/node-oauth20-provider.git","ssh_url":"git@github.com:t1msh/node-oauth20-provider.git","clone_url":"https://github.com/t1msh/node-oauth20-provider.git","svn_url":"https://github.com/t1msh/node-oauth20-provider","homepage":null,"size":369,"stargazers_count":137,"watchers_count":137,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":34,"mirror_url":null,"open_issues_count":1,"forks":34,"open_issues":1,"watchers":137,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/t1msh/node-oauth20-provider/pulls/20"},"html":{"href":"https://github.com/t1msh/node-oauth20-provider/pull/20"},"issue":{"href":"https://api.github.com/repos/t1msh/node-oauth20-provider/issues/20"},"comments":{"href":"https://api.github.com/repos/t1msh/node-oauth20-provider/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/t1msh/node-oauth20-provider/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/t1msh/node-oauth20-provider/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/t1msh/node-oauth20-provider/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/t1msh/node-oauth20-provider/statuses/f754f60bab653730badbc2811dc2b41c129e006d"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"t1msh","id":641034,"avatar_url":"https://avatars.githubusercontent.com/u/641034?v=3","gravatar_id":"","url":"https://api.github.com/users/t1msh","html_url":"https://github.com/t1msh","followers_url":"https://api.github.com/users/t1msh/followers","following_url":"https://api.github.com/users/t1msh/following{/other_user}","gists_url":"https://api.github.com/users/t1msh/gists{/gist_id}","starred_url":"https://api.github.com/users/t1msh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t1msh/subscriptions","organizations_url":"https://api.github.com/users/t1msh/orgs","repos_url":"https://api.github.com/users/t1msh/repos","events_url":"https://api.github.com/users/t1msh/events{/privacy}","received_events_url":"https://api.github.com/users/t1msh/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}