{"action":"created","comment":{"url":"https://api.github.com/repos/pencilblue/pencilblue/pulls/comments/88813227","pull_request_review_id":9374582,"id":88813227,"diff_hunk":"@@ -96,15 +96,15 @@ module.exports = function(pb) {\n             }\n \n             //attempt to retrieve any existing reset\n-            self.getSingle({where: {userId: userObj.id}}, function(err, passwordResetObj) {\n+            self.getSingle({where: {user_id: userObj[pb.DAO.getIdField()].toString()}}, function(err, passwordResetObj) {","path":"include/service/entities/password_reset_service.js","position":5,"original_position":5,"commit_id":"8563cc2b9d3208d028bc4faac4f9c085930b4236","original_commit_id":"8563cc2b9d3208d028bc4faac4f9c085930b4236","user":{"login":"dukeofsussex","id":9024599,"avatar_url":"https://avatars.githubusercontent.com/u/9024599?v=3","gravatar_id":"","url":"https://api.github.com/users/dukeofsussex","html_url":"https://github.com/dukeofsussex","followers_url":"https://api.github.com/users/dukeofsussex/followers","following_url":"https://api.github.com/users/dukeofsussex/following{/other_user}","gists_url":"https://api.github.com/users/dukeofsussex/gists{/gist_id}","starred_url":"https://api.github.com/users/dukeofsussex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dukeofsussex/subscriptions","organizations_url":"https://api.github.com/users/dukeofsussex/orgs","repos_url":"https://api.github.com/users/dukeofsussex/repos","events_url":"https://api.github.com/users/dukeofsussex/events{/privacy}","received_events_url":"https://api.github.com/users/dukeofsussex/received_events","type":"User","site_admin":false},"body":"Oh snap, and I thought it was the other way round. Welp, this PR needs an overhaul then, seems like I was looking in the wrong place.","created_at":"2016-11-20T22:20:54Z","updated_at":"2016-11-20T22:20:54Z","html_url":"https://github.com/pencilblue/pencilblue/pull/1176#discussion_r88813227","pull_request_url":"https://api.github.com/repos/pencilblue/pencilblue/pulls/1176","_links":{"self":{"href":"https://api.github.com/repos/pencilblue/pencilblue/pulls/comments/88813227"},"html":{"href":"https://github.com/pencilblue/pencilblue/pull/1176#discussion_r88813227"},"pull_request":{"href":"https://api.github.com/repos/pencilblue/pencilblue/pulls/1176"}}},"pull_request":{"url":"https://api.github.com/repos/pencilblue/pencilblue/pulls/1176","id":94365223,"html_url":"https://github.com/pencilblue/pencilblue/pull/1176","diff_url":"https://github.com/pencilblue/pencilblue/pull/1176.diff","patch_url":"https://github.com/pencilblue/pencilblue/pull/1176.patch","issue_url":"https://api.github.com/repos/pencilblue/pencilblue/issues/1176","number":1176,"state":"open","locked":false,"title":"Fixes #1174, #1175 and #1177","user":{"login":"dukeofsussex","id":9024599,"avatar_url":"https://avatars.githubusercontent.com/u/9024599?v=3","gravatar_id":"","url":"https://api.github.com/users/dukeofsussex","html_url":"https://github.com/dukeofsussex","followers_url":"https://api.github.com/users/dukeofsussex/followers","following_url":"https://api.github.com/users/dukeofsussex/following{/other_user}","gists_url":"https://api.github.com/users/dukeofsussex/gists{/gist_id}","starred_url":"https://api.github.com/users/dukeofsussex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dukeofsussex/subscriptions","organizations_url":"https://api.github.com/users/dukeofsussex/orgs","repos_url":"https://api.github.com/users/dukeofsussex/repos","events_url":"https://api.github.com/users/dukeofsussex/events{/privacy}","received_events_url":"https://api.github.com/users/dukeofsussex/received_events","type":"User","site_admin":false},"body":"Fixes #1175 \r\n\r\n- [x] Unit tests created and pass\r\n- [x] JS Docs have been updated\r\n\r\n**Description:**\r\nFixes an issue with the password reset email not containing the correct subdomain and verification code\r\n\r\n@pencilblue/owners\r\n\r\n","created_at":"2016-11-18T13:52:50Z","updated_at":"2016-11-20T22:20:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"91ab30664ecdc0d3d0c69e5f369f19eab810e19a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/pencilblue/pencilblue/pulls/1176/commits","review_comments_url":"https://api.github.com/repos/pencilblue/pencilblue/pulls/1176/comments","review_comment_url":"https://api.github.com/repos/pencilblue/pencilblue/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pencilblue/pencilblue/issues/1176/comments","statuses_url":"https://api.github.com/repos/pencilblue/pencilblue/statuses/8563cc2b9d3208d028bc4faac4f9c085930b4236","head":{"label":"dukeofsussex:password_reset","ref":"password_reset","sha":"8563cc2b9d3208d028bc4faac4f9c085930b4236","user":{"login":"dukeofsussex","id":9024599,"avatar_url":"https://avatars.githubusercontent.com/u/9024599?v=3","gravatar_id":"","url":"https://api.github.com/users/dukeofsussex","html_url":"https://github.com/dukeofsussex","followers_url":"https://api.github.com/users/dukeofsussex/followers","following_url":"https://api.github.com/users/dukeofsussex/following{/other_user}","gists_url":"https://api.github.com/users/dukeofsussex/gists{/gist_id}","starred_url":"https://api.github.com/users/dukeofsussex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dukeofsussex/subscriptions","organizations_url":"https://api.github.com/users/dukeofsussex/orgs","repos_url":"https://api.github.com/users/dukeofsussex/repos","events_url":"https://api.github.com/users/dukeofsussex/events{/privacy}","received_events_url":"https://api.github.com/users/dukeofsussex/received_events","type":"User","site_admin":false},"repo":{"id":72982865,"name":"pencilblue","full_name":"dukeofsussex/pencilblue","owner":{"login":"dukeofsussex","id":9024599,"avatar_url":"https://avatars.githubusercontent.com/u/9024599?v=3","gravatar_id":"","url":"https://api.github.com/users/dukeofsussex","html_url":"https://github.com/dukeofsussex","followers_url":"https://api.github.com/users/dukeofsussex/followers","following_url":"https://api.github.com/users/dukeofsussex/following{/other_user}","gists_url":"https://api.github.com/users/dukeofsussex/gists{/gist_id}","starred_url":"https://api.github.com/users/dukeofsussex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dukeofsussex/subscriptions","organizations_url":"https://api.github.com/users/dukeofsussex/orgs","repos_url":"https://api.github.com/users/dukeofsussex/repos","events_url":"https://api.github.com/users/dukeofsussex/events{/privacy}","received_events_url":"https://api.github.com/users/dukeofsussex/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dukeofsussex/pencilblue","description":"Business class content management for Node.js (plugins, server cluster management, data-driven pages)","fork":true,"url":"https://api.github.com/repos/dukeofsussex/pencilblue","forks_url":"https://api.github.com/repos/dukeofsussex/pencilblue/forks","keys_url":"https://api.github.com/repos/dukeofsussex/pencilblue/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dukeofsussex/pencilblue/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dukeofsussex/pencilblue/teams","hooks_url":"https://api.github.com/repos/dukeofsussex/pencilblue/hooks","issue_events_url":"https://api.github.com/repos/dukeofsussex/pencilblue/issues/events{/number}","events_url":"https://api.github.com/repos/dukeofsussex/pencilblue/events","assignees_url":"https://api.github.com/repos/dukeofsussex/pencilblue/assignees{/user}","branches_url":"https://api.github.com/repos/dukeofsussex/pencilblue/branches{/branch}","tags_url":"https://api.github.com/repos/dukeofsussex/pencilblue/tags","blobs_url":"https://api.github.com/repos/dukeofsussex/pencilblue/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dukeofsussex/pencilblue/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dukeofsussex/pencilblue/git/refs{/sha}","trees_url":"https://api.github.com/repos/dukeofsussex/pencilblue/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dukeofsussex/pencilblue/statuses/{sha}","languages_url":"https://api.github.com/repos/dukeofsussex/pencilblue/languages","stargazers_url":"https://api.github.com/repos/dukeofsussex/pencilblue/stargazers","contributors_url":"https://api.github.com/repos/dukeofsussex/pencilblue/contributors","subscribers_url":"https://api.github.com/repos/dukeofsussex/pencilblue/subscribers","subscription_url":"https://api.github.com/repos/dukeofsussex/pencilblue/subscription","commits_url":"https://api.github.com/repos/dukeofsussex/pencilblue/commits{/sha}","git_commits_url":"https://api.github.com/repos/dukeofsussex/pencilblue/git/commits{/sha}","comments_url":"https://api.github.com/repos/dukeofsussex/pencilblue/comments{/number}","issue_comment_url":"https://api.github.com/repos/dukeofsussex/pencilblue/issues/comments{/number}","contents_url":"https://api.github.com/repos/dukeofsussex/pencilblue/contents/{+path}","compare_url":"https://api.github.com/repos/dukeofsussex/pencilblue/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dukeofsussex/pencilblue/merges","archive_url":"https://api.github.com/repos/dukeofsussex/pencilblue/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dukeofsussex/pencilblue/downloads","issues_url":"https://api.github.com/repos/dukeofsussex/pencilblue/issues{/number}","pulls_url":"https://api.github.com/repos/dukeofsussex/pencilblue/pulls{/number}","milestones_url":"https://api.github.com/repos/dukeofsussex/pencilblue/milestones{/number}","notifications_url":"https://api.github.com/repos/dukeofsussex/pencilblue/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dukeofsussex/pencilblue/labels{/name}","releases_url":"https://api.github.com/repos/dukeofsussex/pencilblue/releases{/id}","deployments_url":"https://api.github.com/repos/dukeofsussex/pencilblue/deployments","created_at":"2016-11-06T10:13:06Z","updated_at":"2016-11-06T10:13:08Z","pushed_at":"2016-11-20T11:49:57Z","git_url":"git://github.com/dukeofsussex/pencilblue.git","ssh_url":"git@github.com:dukeofsussex/pencilblue.git","clone_url":"https://github.com/dukeofsussex/pencilblue.git","svn_url":"https://github.com/dukeofsussex/pencilblue","homepage":"https://pencilblue.org","size":15904,"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":"pencilblue:master","ref":"master","sha":"ae3e8e2ef655386b3d984aeb598016af7f5ea8a7","user":{"login":"pencilblue","id":6748264,"avatar_url":"https://avatars.githubusercontent.com/u/6748264?v=3","gravatar_id":"","url":"https://api.github.com/users/pencilblue","html_url":"https://github.com/pencilblue","followers_url":"https://api.github.com/users/pencilblue/followers","following_url":"https://api.github.com/users/pencilblue/following{/other_user}","gists_url":"https://api.github.com/users/pencilblue/gists{/gist_id}","starred_url":"https://api.github.com/users/pencilblue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pencilblue/subscriptions","organizations_url":"https://api.github.com/users/pencilblue/orgs","repos_url":"https://api.github.com/users/pencilblue/repos","events_url":"https://api.github.com/users/pencilblue/events{/privacy}","received_events_url":"https://api.github.com/users/pencilblue/received_events","type":"Organization","site_admin":false},"repo":{"id":21303242,"name":"pencilblue","full_name":"pencilblue/pencilblue","owner":{"login":"pencilblue","id":6748264,"avatar_url":"https://avatars.githubusercontent.com/u/6748264?v=3","gravatar_id":"","url":"https://api.github.com/users/pencilblue","html_url":"https://github.com/pencilblue","followers_url":"https://api.github.com/users/pencilblue/followers","following_url":"https://api.github.com/users/pencilblue/following{/other_user}","gists_url":"https://api.github.com/users/pencilblue/gists{/gist_id}","starred_url":"https://api.github.com/users/pencilblue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pencilblue/subscriptions","organizations_url":"https://api.github.com/users/pencilblue/orgs","repos_url":"https://api.github.com/users/pencilblue/repos","events_url":"https://api.github.com/users/pencilblue/events{/privacy}","received_events_url":"https://api.github.com/users/pencilblue/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pencilblue/pencilblue","description":"Business class content management for Node.js (plugins, server cluster management, data-driven pages)","fork":false,"url":"https://api.github.com/repos/pencilblue/pencilblue","forks_url":"https://api.github.com/repos/pencilblue/pencilblue/forks","keys_url":"https://api.github.com/repos/pencilblue/pencilblue/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pencilblue/pencilblue/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pencilblue/pencilblue/teams","hooks_url":"https://api.github.com/repos/pencilblue/pencilblue/hooks","issue_events_url":"https://api.github.com/repos/pencilblue/pencilblue/issues/events{/number}","events_url":"https://api.github.com/repos/pencilblue/pencilblue/events","assignees_url":"https://api.github.com/repos/pencilblue/pencilblue/assignees{/user}","branches_url":"https://api.github.com/repos/pencilblue/pencilblue/branches{/branch}","tags_url":"https://api.github.com/repos/pencilblue/pencilblue/tags","blobs_url":"https://api.github.com/repos/pencilblue/pencilblue/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pencilblue/pencilblue/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pencilblue/pencilblue/git/refs{/sha}","trees_url":"https://api.github.com/repos/pencilblue/pencilblue/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pencilblue/pencilblue/statuses/{sha}","languages_url":"https://api.github.com/repos/pencilblue/pencilblue/languages","stargazers_url":"https://api.github.com/repos/pencilblue/pencilblue/stargazers","contributors_url":"https://api.github.com/repos/pencilblue/pencilblue/contributors","subscribers_url":"https://api.github.com/repos/pencilblue/pencilblue/subscribers","subscription_url":"https://api.github.com/repos/pencilblue/pencilblue/subscription","commits_url":"https://api.github.com/repos/pencilblue/pencilblue/commits{/sha}","git_commits_url":"https://api.github.com/repos/pencilblue/pencilblue/git/commits{/sha}","comments_url":"https://api.github.com/repos/pencilblue/pencilblue/comments{/number}","issue_comment_url":"https://api.github.com/repos/pencilblue/pencilblue/issues/comments{/number}","contents_url":"https://api.github.com/repos/pencilblue/pencilblue/contents/{+path}","compare_url":"https://api.github.com/repos/pencilblue/pencilblue/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pencilblue/pencilblue/merges","archive_url":"https://api.github.com/repos/pencilblue/pencilblue/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pencilblue/pencilblue/downloads","issues_url":"https://api.github.com/repos/pencilblue/pencilblue/issues{/number}","pulls_url":"https://api.github.com/repos/pencilblue/pencilblue/pulls{/number}","milestones_url":"https://api.github.com/repos/pencilblue/pencilblue/milestones{/number}","notifications_url":"https://api.github.com/repos/pencilblue/pencilblue/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pencilblue/pencilblue/labels{/name}","releases_url":"https://api.github.com/repos/pencilblue/pencilblue/releases{/id}","deployments_url":"https://api.github.com/repos/pencilblue/pencilblue/deployments","created_at":"2014-06-28T13:28:48Z","updated_at":"2016-11-18T12:50:20Z","pushed_at":"2016-11-20T21:36:30Z","git_url":"git://github.com/pencilblue/pencilblue.git","ssh_url":"git@github.com:pencilblue/pencilblue.git","clone_url":"https://github.com/pencilblue/pencilblue.git","svn_url":"https://github.com/pencilblue/pencilblue","homepage":"https://pencilblue.org","size":18199,"stargazers_count":1479,"watchers_count":1479,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":248,"mirror_url":null,"open_issues_count":52,"forks":248,"open_issues":52,"watchers":1479,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pencilblue/pencilblue/pulls/1176"},"html":{"href":"https://github.com/pencilblue/pencilblue/pull/1176"},"issue":{"href":"https://api.github.com/repos/pencilblue/pencilblue/issues/1176"},"comments":{"href":"https://api.github.com/repos/pencilblue/pencilblue/issues/1176/comments"},"review_comments":{"href":"https://api.github.com/repos/pencilblue/pencilblue/pulls/1176/comments"},"review_comment":{"href":"https://api.github.com/repos/pencilblue/pencilblue/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pencilblue/pencilblue/pulls/1176/commits"},"statuses":{"href":"https://api.github.com/repos/pencilblue/pencilblue/statuses/8563cc2b9d3208d028bc4faac4f9c085930b4236"}}}}
{"actor":{"display_login":"dukeofsussex"}}