{"action":"created","comment":{"url":"https://api.github.com/repos/hwdtech/cms-internship/pulls/comments/107643369","pull_request_review_id":28626849,"id":107643369,"diff_hunk":"@@ -0,0 +1,7 @@\n+const crypto = require('crypto');\n+\n+module.exports = (pass) => {\n+    const md5sum = crypto.createHash('md5');\n+    md5sum.update(pass);\n+    return pass = md5sum.digest('hex');","path":"backend/app/utils/hashPass.js","position":6,"original_position":6,"commit_id":"1531972e01adb5499c68ab760bf6944be3578f46","original_commit_id":"1531972e01adb5499c68ab760bf6944be3578f46","user":{"login":"IgorZiegler","id":10164848,"avatar_url":"https://avatars2.githubusercontent.com/u/10164848?v=3","gravatar_id":"","url":"https://api.github.com/users/IgorZiegler","html_url":"https://github.com/IgorZiegler","followers_url":"https://api.github.com/users/IgorZiegler/followers","following_url":"https://api.github.com/users/IgorZiegler/following{/other_user}","gists_url":"https://api.github.com/users/IgorZiegler/gists{/gist_id}","starred_url":"https://api.github.com/users/IgorZiegler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IgorZiegler/subscriptions","organizations_url":"https://api.github.com/users/IgorZiegler/orgs","repos_url":"https://api.github.com/users/IgorZiegler/repos","events_url":"https://api.github.com/users/IgorZiegler/events{/privacy}","received_events_url":"https://api.github.com/users/IgorZiegler/received_events","type":"User","site_admin":false},"body":"`return md5sum.digest('hex');`","created_at":"2017-03-23T11:22:28Z","updated_at":"2017-03-23T11:22:28Z","html_url":"https://github.com/hwdtech/cms-internship/pull/19#discussion_r107643369","pull_request_url":"https://api.github.com/repos/hwdtech/cms-internship/pulls/19","_links":{"self":{"href":"https://api.github.com/repos/hwdtech/cms-internship/pulls/comments/107643369"},"html":{"href":"https://github.com/hwdtech/cms-internship/pull/19#discussion_r107643369"},"pull_request":{"href":"https://api.github.com/repos/hwdtech/cms-internship/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/hwdtech/cms-internship/pulls/19","id":112192271,"html_url":"https://github.com/hwdtech/cms-internship/pull/19","diff_url":"https://github.com/hwdtech/cms-internship/pull/19.diff","patch_url":"https://github.com/hwdtech/cms-internship/pull/19.patch","issue_url":"https://api.github.com/repos/hwdtech/cms-internship/issues/19","number":19,"state":"open","locked":false,"title":"Create utility of hash password","user":{"login":"vladb55","id":14104890,"avatar_url":"https://avatars1.githubusercontent.com/u/14104890?v=3","gravatar_id":"","url":"https://api.github.com/users/vladb55","html_url":"https://github.com/vladb55","followers_url":"https://api.github.com/users/vladb55/followers","following_url":"https://api.github.com/users/vladb55/following{/other_user}","gists_url":"https://api.github.com/users/vladb55/gists{/gist_id}","starred_url":"https://api.github.com/users/vladb55/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladb55/subscriptions","organizations_url":"https://api.github.com/users/vladb55/orgs","repos_url":"https://api.github.com/users/vladb55/repos","events_url":"https://api.github.com/users/vladb55/events{/privacy}","received_events_url":"https://api.github.com/users/vladb55/received_events","type":"User","site_admin":false},"body":"Create utility of hash password into md5","created_at":"2017-03-23T09:20:26Z","updated_at":"2017-03-23T11:22:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9e9e9608f0da05af513cea9ab7099bdc67eab448","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/hwdtech/cms-internship/pulls/19/commits","review_comments_url":"https://api.github.com/repos/hwdtech/cms-internship/pulls/19/comments","review_comment_url":"https://api.github.com/repos/hwdtech/cms-internship/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hwdtech/cms-internship/issues/19/comments","statuses_url":"https://api.github.com/repos/hwdtech/cms-internship/statuses/1531972e01adb5499c68ab760bf6944be3578f46","head":{"label":"hwdtech:cms/400","ref":"cms/400","sha":"1531972e01adb5499c68ab760bf6944be3578f46","user":{"login":"hwdtech","id":9063089,"avatar_url":"https://avatars0.githubusercontent.com/u/9063089?v=3","gravatar_id":"","url":"https://api.github.com/users/hwdtech","html_url":"https://github.com/hwdtech","followers_url":"https://api.github.com/users/hwdtech/followers","following_url":"https://api.github.com/users/hwdtech/following{/other_user}","gists_url":"https://api.github.com/users/hwdtech/gists{/gist_id}","starred_url":"https://api.github.com/users/hwdtech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hwdtech/subscriptions","organizations_url":"https://api.github.com/users/hwdtech/orgs","repos_url":"https://api.github.com/users/hwdtech/repos","events_url":"https://api.github.com/users/hwdtech/events{/privacy}","received_events_url":"https://api.github.com/users/hwdtech/received_events","type":"Organization","site_admin":false},"repo":{"id":84927779,"name":"cms-internship","full_name":"hwdtech/cms-internship","owner":{"login":"hwdtech","id":9063089,"avatar_url":"https://avatars0.githubusercontent.com/u/9063089?v=3","gravatar_id":"","url":"https://api.github.com/users/hwdtech","html_url":"https://github.com/hwdtech","followers_url":"https://api.github.com/users/hwdtech/followers","following_url":"https://api.github.com/users/hwdtech/following{/other_user}","gists_url":"https://api.github.com/users/hwdtech/gists{/gist_id}","starred_url":"https://api.github.com/users/hwdtech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hwdtech/subscriptions","organizations_url":"https://api.github.com/users/hwdtech/orgs","repos_url":"https://api.github.com/users/hwdtech/repos","events_url":"https://api.github.com/users/hwdtech/events{/privacy}","received_events_url":"https://api.github.com/users/hwdtech/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hwdtech/cms-internship","description":null,"fork":false,"url":"https://api.github.com/repos/hwdtech/cms-internship","forks_url":"https://api.github.com/repos/hwdtech/cms-internship/forks","keys_url":"https://api.github.com/repos/hwdtech/cms-internship/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hwdtech/cms-internship/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hwdtech/cms-internship/teams","hooks_url":"https://api.github.com/repos/hwdtech/cms-internship/hooks","issue_events_url":"https://api.github.com/repos/hwdtech/cms-internship/issues/events{/number}","events_url":"https://api.github.com/repos/hwdtech/cms-internship/events","assignees_url":"https://api.github.com/repos/hwdtech/cms-internship/assignees{/user}","branches_url":"https://api.github.com/repos/hwdtech/cms-internship/branches{/branch}","tags_url":"https://api.github.com/repos/hwdtech/cms-internship/tags","blobs_url":"https://api.github.com/repos/hwdtech/cms-internship/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hwdtech/cms-internship/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hwdtech/cms-internship/git/refs{/sha}","trees_url":"https://api.github.com/repos/hwdtech/cms-internship/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hwdtech/cms-internship/statuses/{sha}","languages_url":"https://api.github.com/repos/hwdtech/cms-internship/languages","stargazers_url":"https://api.github.com/repos/hwdtech/cms-internship/stargazers","contributors_url":"https://api.github.com/repos/hwdtech/cms-internship/contributors","subscribers_url":"https://api.github.com/repos/hwdtech/cms-internship/subscribers","subscription_url":"https://api.github.com/repos/hwdtech/cms-internship/subscription","commits_url":"https://api.github.com/repos/hwdtech/cms-internship/commits{/sha}","git_commits_url":"https://api.github.com/repos/hwdtech/cms-internship/git/commits{/sha}","comments_url":"https://api.github.com/repos/hwdtech/cms-internship/comments{/number}","issue_comment_url":"https://api.github.com/repos/hwdtech/cms-internship/issues/comments{/number}","contents_url":"https://api.github.com/repos/hwdtech/cms-internship/contents/{+path}","compare_url":"https://api.github.com/repos/hwdtech/cms-internship/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hwdtech/cms-internship/merges","archive_url":"https://api.github.com/repos/hwdtech/cms-internship/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hwdtech/cms-internship/downloads","issues_url":"https://api.github.com/repos/hwdtech/cms-internship/issues{/number}","pulls_url":"https://api.github.com/repos/hwdtech/cms-internship/pulls{/number}","milestones_url":"https://api.github.com/repos/hwdtech/cms-internship/milestones{/number}","notifications_url":"https://api.github.com/repos/hwdtech/cms-internship/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hwdtech/cms-internship/labels{/name}","releases_url":"https://api.github.com/repos/hwdtech/cms-internship/releases{/id}","deployments_url":"https://api.github.com/repos/hwdtech/cms-internship/deployments","created_at":"2017-03-14T09:04:04Z","updated_at":"2017-03-22T10:46:47Z","pushed_at":"2017-03-23T11:16:29Z","git_url":"git://github.com/hwdtech/cms-internship.git","ssh_url":"git@github.com:hwdtech/cms-internship.git","clone_url":"https://github.com/hwdtech/cms-internship.git","svn_url":"https://github.com/hwdtech/cms-internship","homepage":null,"size":4540,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":8,"forks":0,"open_issues":8,"watchers":0,"default_branch":"master"}},"base":{"label":"hwdtech:master","ref":"master","sha":"29302f02113a2c36f75c2a450676a7d18fcf7da3","user":{"login":"hwdtech","id":9063089,"avatar_url":"https://avatars0.githubusercontent.com/u/9063089?v=3","gravatar_id":"","url":"https://api.github.com/users/hwdtech","html_url":"https://github.com/hwdtech","followers_url":"https://api.github.com/users/hwdtech/followers","following_url":"https://api.github.com/users/hwdtech/following{/other_user}","gists_url":"https://api.github.com/users/hwdtech/gists{/gist_id}","starred_url":"https://api.github.com/users/hwdtech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hwdtech/subscriptions","organizations_url":"https://api.github.com/users/hwdtech/orgs","repos_url":"https://api.github.com/users/hwdtech/repos","events_url":"https://api.github.com/users/hwdtech/events{/privacy}","received_events_url":"https://api.github.com/users/hwdtech/received_events","type":"Organization","site_admin":false},"repo":{"id":84927779,"name":"cms-internship","full_name":"hwdtech/cms-internship","owner":{"login":"hwdtech","id":9063089,"avatar_url":"https://avatars0.githubusercontent.com/u/9063089?v=3","gravatar_id":"","url":"https://api.github.com/users/hwdtech","html_url":"https://github.com/hwdtech","followers_url":"https://api.github.com/users/hwdtech/followers","following_url":"https://api.github.com/users/hwdtech/following{/other_user}","gists_url":"https://api.github.com/users/hwdtech/gists{/gist_id}","starred_url":"https://api.github.com/users/hwdtech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hwdtech/subscriptions","organizations_url":"https://api.github.com/users/hwdtech/orgs","repos_url":"https://api.github.com/users/hwdtech/repos","events_url":"https://api.github.com/users/hwdtech/events{/privacy}","received_events_url":"https://api.github.com/users/hwdtech/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hwdtech/cms-internship","description":null,"fork":false,"url":"https://api.github.com/repos/hwdtech/cms-internship","forks_url":"https://api.github.com/repos/hwdtech/cms-internship/forks","keys_url":"https://api.github.com/repos/hwdtech/cms-internship/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hwdtech/cms-internship/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hwdtech/cms-internship/teams","hooks_url":"https://api.github.com/repos/hwdtech/cms-internship/hooks","issue_events_url":"https://api.github.com/repos/hwdtech/cms-internship/issues/events{/number}","events_url":"https://api.github.com/repos/hwdtech/cms-internship/events","assignees_url":"https://api.github.com/repos/hwdtech/cms-internship/assignees{/user}","branches_url":"https://api.github.com/repos/hwdtech/cms-internship/branches{/branch}","tags_url":"https://api.github.com/repos/hwdtech/cms-internship/tags","blobs_url":"https://api.github.com/repos/hwdtech/cms-internship/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hwdtech/cms-internship/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hwdtech/cms-internship/git/refs{/sha}","trees_url":"https://api.github.com/repos/hwdtech/cms-internship/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hwdtech/cms-internship/statuses/{sha}","languages_url":"https://api.github.com/repos/hwdtech/cms-internship/languages","stargazers_url":"https://api.github.com/repos/hwdtech/cms-internship/stargazers","contributors_url":"https://api.github.com/repos/hwdtech/cms-internship/contributors","subscribers_url":"https://api.github.com/repos/hwdtech/cms-internship/subscribers","subscription_url":"https://api.github.com/repos/hwdtech/cms-internship/subscription","commits_url":"https://api.github.com/repos/hwdtech/cms-internship/commits{/sha}","git_commits_url":"https://api.github.com/repos/hwdtech/cms-internship/git/commits{/sha}","comments_url":"https://api.github.com/repos/hwdtech/cms-internship/comments{/number}","issue_comment_url":"https://api.github.com/repos/hwdtech/cms-internship/issues/comments{/number}","contents_url":"https://api.github.com/repos/hwdtech/cms-internship/contents/{+path}","compare_url":"https://api.github.com/repos/hwdtech/cms-internship/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hwdtech/cms-internship/merges","archive_url":"https://api.github.com/repos/hwdtech/cms-internship/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hwdtech/cms-internship/downloads","issues_url":"https://api.github.com/repos/hwdtech/cms-internship/issues{/number}","pulls_url":"https://api.github.com/repos/hwdtech/cms-internship/pulls{/number}","milestones_url":"https://api.github.com/repos/hwdtech/cms-internship/milestones{/number}","notifications_url":"https://api.github.com/repos/hwdtech/cms-internship/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hwdtech/cms-internship/labels{/name}","releases_url":"https://api.github.com/repos/hwdtech/cms-internship/releases{/id}","deployments_url":"https://api.github.com/repos/hwdtech/cms-internship/deployments","created_at":"2017-03-14T09:04:04Z","updated_at":"2017-03-22T10:46:47Z","pushed_at":"2017-03-23T11:16:29Z","git_url":"git://github.com/hwdtech/cms-internship.git","ssh_url":"git@github.com:hwdtech/cms-internship.git","clone_url":"https://github.com/hwdtech/cms-internship.git","svn_url":"https://github.com/hwdtech/cms-internship","homepage":null,"size":4540,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":8,"forks":0,"open_issues":8,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hwdtech/cms-internship/pulls/19"},"html":{"href":"https://github.com/hwdtech/cms-internship/pull/19"},"issue":{"href":"https://api.github.com/repos/hwdtech/cms-internship/issues/19"},"comments":{"href":"https://api.github.com/repos/hwdtech/cms-internship/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/hwdtech/cms-internship/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/hwdtech/cms-internship/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hwdtech/cms-internship/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/hwdtech/cms-internship/statuses/1531972e01adb5499c68ab760bf6944be3578f46"}}}}
{"actor":{"display_login":"IgorZiegler"}}