{"action":"created","comment":{"url":"https://api.github.com/repos/ContriHUB/ContriHub-18/pulls/comments/228710908","pull_request_review_id":169053294,"id":228710908,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyODcxMDkwOA==","diff_hunk":"@@ -44,7 +44,11 @@\n                                 </div>\n                                 <div class=\"card-text\">\n                                     {% if request.user == pr.from_user %}","path":"Projects/templates/Projects/profile.html","position":3,"original_position":3,"commit_id":"9b7bb14fda17405ef316d00b4dd5df837a1b9567","original_commit_id":"9b7bb14fda17405ef316d00b4dd5df837a1b9567","user":{"login":"dbads","id":16637155,"node_id":"MDQ6VXNlcjE2NjM3MTU1","avatar_url":"https://avatars0.githubusercontent.com/u/16637155?v=4","gravatar_id":"","url":"https://api.github.com/users/dbads","html_url":"https://github.com/dbads","followers_url":"https://api.github.com/users/dbads/followers","following_url":"https://api.github.com/users/dbads/following{/other_user}","gists_url":"https://api.github.com/users/dbads/gists{/gist_id}","starred_url":"https://api.github.com/users/dbads/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbads/subscriptions","organizations_url":"https://api.github.com/users/dbads/orgs","repos_url":"https://api.github.com/users/dbads/repos","events_url":"https://api.github.com/users/dbads/events{/privacy}","received_events_url":"https://api.github.com/users/dbads/received_events","type":"User","site_admin":false},"body":"I have updated this to be just a single if else, it should be working :smile: ","created_at":"2018-10-27T12:01:42Z","updated_at":"2018-10-27T12:01:42Z","html_url":"https://github.com/ContriHUB/ContriHub-18/pull/115#discussion_r228710908","pull_request_url":"https://api.github.com/repos/ContriHUB/ContriHub-18/pulls/115","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/ContriHUB/ContriHub-18/pulls/comments/228710908"},"html":{"href":"https://github.com/ContriHUB/ContriHub-18/pull/115#discussion_r228710908"},"pull_request":{"href":"https://api.github.com/repos/ContriHUB/ContriHub-18/pulls/115"}},"in_reply_to_id":228710450},"pull_request":{"url":"https://api.github.com/repos/ContriHUB/ContriHub-18/pulls/115","id":226272953,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI2MjcyOTUz","html_url":"https://github.com/ContriHUB/ContriHub-18/pull/115","diff_url":"https://github.com/ContriHUB/ContriHub-18/pull/115.diff","patch_url":"https://github.com/ContriHUB/ContriHub-18/pull/115.patch","issue_url":"https://api.github.com/repos/ContriHUB/ContriHub-18/issues/115","number":115,"state":"closed","locked":false,"title":"API to delete PR of a user for mentors","user":{"login":"jarvisdev","id":33129756,"node_id":"MDQ6VXNlcjMzMTI5NzU2","avatar_url":"https://avatars3.githubusercontent.com/u/33129756?v=4","gravatar_id":"","url":"https://api.github.com/users/jarvisdev","html_url":"https://github.com/jarvisdev","followers_url":"https://api.github.com/users/jarvisdev/followers","following_url":"https://api.github.com/users/jarvisdev/following{/other_user}","gists_url":"https://api.github.com/users/jarvisdev/gists{/gist_id}","starred_url":"https://api.github.com/users/jarvisdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jarvisdev/subscriptions","organizations_url":"https://api.github.com/users/jarvisdev/orgs","repos_url":"https://api.github.com/users/jarvisdev/repos","events_url":"https://api.github.com/users/jarvisdev/events{/privacy}","received_events_url":"https://api.github.com/users/jarvisdev/received_events","type":"User","site_admin":false},"body":"implemented the functionality to delete submitted PRs of users by mentors\r\nfixes #101 ","created_at":"2018-10-27T06:12:27Z","updated_at":"2018-10-27T12:01:42Z","closed_at":"2018-10-27T10:58:09Z","merged_at":"2018-10-27T10:58:09Z","merge_commit_sha":"9b7bb14fda17405ef316d00b4dd5df837a1b9567","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ContriHUB/ContriHub-18/pulls/115/commits","review_comments_url":"https://api.github.com/repos/ContriHUB/ContriHub-18/pulls/115/comments","review_comment_url":"https://api.github.com/repos/ContriHUB/ContriHub-18/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ContriHUB/ContriHub-18/issues/115/comments","statuses_url":"https://api.github.com/repos/ContriHUB/ContriHub-18/statuses/9b7bb14fda17405ef316d00b4dd5df837a1b9567","head":{"label":"jarvisdev:deletepr","ref":"deletepr","sha":"9b7bb14fda17405ef316d00b4dd5df837a1b9567","user":{"login":"jarvisdev","id":33129756,"node_id":"MDQ6VXNlcjMzMTI5NzU2","avatar_url":"https://avatars3.githubusercontent.com/u/33129756?v=4","gravatar_id":"","url":"https://api.github.com/users/jarvisdev","html_url":"https://github.com/jarvisdev","followers_url":"https://api.github.com/users/jarvisdev/followers","following_url":"https://api.github.com/users/jarvisdev/following{/other_user}","gists_url":"https://api.github.com/users/jarvisdev/gists{/gist_id}","starred_url":"https://api.github.com/users/jarvisdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jarvisdev/subscriptions","organizations_url":"https://api.github.com/users/jarvisdev/orgs","repos_url":"https://api.github.com/users/jarvisdev/repos","events_url":"https://api.github.com/users/jarvisdev/events{/privacy}","received_events_url":"https://api.github.com/users/jarvisdev/received_events","type":"User","site_admin":false},"repo":{"id":153591977,"node_id":"MDEwOlJlcG9zaXRvcnkxNTM1OTE5Nzc=","name":"ContriHub-18","full_name":"jarvisdev/ContriHub-18","private":false,"owner":{"login":"jarvisdev","id":33129756,"node_id":"MDQ6VXNlcjMzMTI5NzU2","avatar_url":"https://avatars3.githubusercontent.com/u/33129756?v=4","gravatar_id":"","url":"https://api.github.com/users/jarvisdev","html_url":"https://github.com/jarvisdev","followers_url":"https://api.github.com/users/jarvisdev/followers","following_url":"https://api.github.com/users/jarvisdev/following{/other_user}","gists_url":"https://api.github.com/users/jarvisdev/gists{/gist_id}","starred_url":"https://api.github.com/users/jarvisdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jarvisdev/subscriptions","organizations_url":"https://api.github.com/users/jarvisdev/orgs","repos_url":"https://api.github.com/users/jarvisdev/repos","events_url":"https://api.github.com/users/jarvisdev/events{/privacy}","received_events_url":"https://api.github.com/users/jarvisdev/received_events","type":"User","site_admin":false},"html_url":"https://github.com/jarvisdev/ContriHub-18","description":"http://contrihubs.herokuapp.com - :snowman: :cyclone: ContriHub is an event under Avishkar-18 where we are expecting to get more and more people involved in Opens Source activities.","fork":true,"url":"https://api.github.com/repos/jarvisdev/ContriHub-18","forks_url":"https://api.github.com/repos/jarvisdev/ContriHub-18/forks","keys_url":"https://api.github.com/repos/jarvisdev/ContriHub-18/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jarvisdev/ContriHub-18/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jarvisdev/ContriHub-18/teams","hooks_url":"https://api.github.com/repos/jarvisdev/ContriHub-18/hooks","issue_events_url":"https://api.github.com/repos/jarvisdev/ContriHub-18/issues/events{/number}","events_url":"https://api.github.com/repos/jarvisdev/ContriHub-18/events","assignees_url":"https://api.github.com/repos/jarvisdev/ContriHub-18/assignees{/user}","branches_url":"https://api.github.com/repos/jarvisdev/ContriHub-18/branches{/branch}","tags_url":"https://api.github.com/repos/jarvisdev/ContriHub-18/tags","blobs_url":"https://api.github.com/repos/jarvisdev/ContriHub-18/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jarvisdev/ContriHub-18/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jarvisdev/ContriHub-18/git/refs{/sha}","trees_url":"https://api.github.com/repos/jarvisdev/ContriHub-18/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jarvisdev/ContriHub-18/statuses/{sha}","languages_url":"https://api.github.com/repos/jarvisdev/ContriHub-18/languages","stargazers_url":"https://api.github.com/repos/jarvisdev/ContriHub-18/stargazers","contributors_url":"https://api.github.com/repos/jarvisdev/ContriHub-18/contributors","subscribers_url":"https://api.github.com/repos/jarvisdev/ContriHub-18/subscribers","subscription_url":"https://api.github.com/repos/jarvisdev/ContriHub-18/subscription","commits_url":"https://api.github.com/repos/jarvisdev/ContriHub-18/commits{/sha}","git_commits_url":"https://api.github.com/repos/jarvisdev/ContriHub-18/git/commits{/sha}","comments_url":"https://api.github.com/repos/jarvisdev/ContriHub-18/comments{/number}","issue_comment_url":"https://api.github.com/repos/jarvisdev/ContriHub-18/issues/comments{/number}","contents_url":"https://api.github.com/repos/jarvisdev/ContriHub-18/contents/{+path}","compare_url":"https://api.github.com/repos/jarvisdev/ContriHub-18/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jarvisdev/ContriHub-18/merges","archive_url":"https://api.github.com/repos/jarvisdev/ContriHub-18/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jarvisdev/ContriHub-18/downloads","issues_url":"https://api.github.com/repos/jarvisdev/ContriHub-18/issues{/number}","pulls_url":"https://api.github.com/repos/jarvisdev/ContriHub-18/pulls{/number}","milestones_url":"https://api.github.com/repos/jarvisdev/ContriHub-18/milestones{/number}","notifications_url":"https://api.github.com/repos/jarvisdev/ContriHub-18/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jarvisdev/ContriHub-18/labels{/name}","releases_url":"https://api.github.com/repos/jarvisdev/ContriHub-18/releases{/id}","deployments_url":"https://api.github.com/repos/jarvisdev/ContriHub-18/deployments","created_at":"2018-10-18T08:43:26Z","updated_at":"2018-10-27T06:06:45Z","pushed_at":"2018-10-27T06:10:00Z","git_url":"git://github.com/jarvisdev/ContriHub-18.git","ssh_url":"git@github.com:jarvisdev/ContriHub-18.git","clone_url":"https://github.com/jarvisdev/ContriHub-18.git","svn_url":"https://github.com/jarvisdev/ContriHub-18","homepage":"","size":7660,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ContriHUB:master","ref":"master","sha":"36ff8456e5aa562c36d4db97fb50d8ad69bdefaf","user":{"login":"ContriHUB","id":42784838,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQyNzg0ODM4","avatar_url":"https://avatars1.githubusercontent.com/u/42784838?v=4","gravatar_id":"","url":"https://api.github.com/users/ContriHUB","html_url":"https://github.com/ContriHUB","followers_url":"https://api.github.com/users/ContriHUB/followers","following_url":"https://api.github.com/users/ContriHUB/following{/other_user}","gists_url":"https://api.github.com/users/ContriHUB/gists{/gist_id}","starred_url":"https://api.github.com/users/ContriHUB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ContriHUB/subscriptions","organizations_url":"https://api.github.com/users/ContriHUB/orgs","repos_url":"https://api.github.com/users/ContriHUB/repos","events_url":"https://api.github.com/users/ContriHUB/events{/privacy}","received_events_url":"https://api.github.com/users/ContriHUB/received_events","type":"Organization","site_admin":false},"repo":{"id":144955661,"node_id":"MDEwOlJlcG9zaXRvcnkxNDQ5NTU2NjE=","name":"ContriHub-18","full_name":"ContriHUB/ContriHub-18","private":false,"owner":{"login":"ContriHUB","id":42784838,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQyNzg0ODM4","avatar_url":"https://avatars1.githubusercontent.com/u/42784838?v=4","gravatar_id":"","url":"https://api.github.com/users/ContriHUB","html_url":"https://github.com/ContriHUB","followers_url":"https://api.github.com/users/ContriHUB/followers","following_url":"https://api.github.com/users/ContriHUB/following{/other_user}","gists_url":"https://api.github.com/users/ContriHUB/gists{/gist_id}","starred_url":"https://api.github.com/users/ContriHUB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ContriHUB/subscriptions","organizations_url":"https://api.github.com/users/ContriHUB/orgs","repos_url":"https://api.github.com/users/ContriHUB/repos","events_url":"https://api.github.com/users/ContriHUB/events{/privacy}","received_events_url":"https://api.github.com/users/ContriHUB/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/ContriHUB/ContriHub-18","description":"http://contrihubs.herokuapp.com - :snowman: :cyclone: ContriHub is an event under Avishkar-18 where we are expecting to get more and more people involved in Opens Source activities.","fork":false,"url":"https://api.github.com/repos/ContriHUB/ContriHub-18","forks_url":"https://api.github.com/repos/ContriHUB/ContriHub-18/forks","keys_url":"https://api.github.com/repos/ContriHUB/ContriHub-18/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ContriHUB/ContriHub-18/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ContriHUB/ContriHub-18/teams","hooks_url":"https://api.github.com/repos/ContriHUB/ContriHub-18/hooks","issue_events_url":"https://api.github.com/repos/ContriHUB/ContriHub-18/issues/events{/number}","events_url":"https://api.github.com/repos/ContriHUB/ContriHub-18/events","assignees_url":"https://api.github.com/repos/ContriHUB/ContriHub-18/assignees{/user}","branches_url":"https://api.github.com/repos/ContriHUB/ContriHub-18/branches{/branch}","tags_url":"https://api.github.com/repos/ContriHUB/ContriHub-18/tags","blobs_url":"https://api.github.com/repos/ContriHUB/ContriHub-18/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ContriHUB/ContriHub-18/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ContriHUB/ContriHub-18/git/refs{/sha}","trees_url":"https://api.github.com/repos/ContriHUB/ContriHub-18/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ContriHUB/ContriHub-18/statuses/{sha}","languages_url":"https://api.github.com/repos/ContriHUB/ContriHub-18/languages","stargazers_url":"https://api.github.com/repos/ContriHUB/ContriHub-18/stargazers","contributors_url":"https://api.github.com/repos/ContriHUB/ContriHub-18/contributors","subscribers_url":"https://api.github.com/repos/ContriHUB/ContriHub-18/subscribers","subscription_url":"https://api.github.com/repos/ContriHUB/ContriHub-18/subscription","commits_url":"https://api.github.com/repos/ContriHUB/ContriHub-18/commits{/sha}","git_commits_url":"https://api.github.com/repos/ContriHUB/ContriHub-18/git/commits{/sha}","comments_url":"https://api.github.com/repos/ContriHUB/ContriHub-18/comments{/number}","issue_comment_url":"https://api.github.com/repos/ContriHUB/ContriHub-18/issues/comments{/number}","contents_url":"https://api.github.com/repos/ContriHUB/ContriHub-18/contents/{+path}","compare_url":"https://api.github.com/repos/ContriHUB/ContriHub-18/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ContriHUB/ContriHub-18/merges","archive_url":"https://api.github.com/repos/ContriHUB/ContriHub-18/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ContriHUB/ContriHub-18/downloads","issues_url":"https://api.github.com/repos/ContriHUB/ContriHub-18/issues{/number}","pulls_url":"https://api.github.com/repos/ContriHUB/ContriHub-18/pulls{/number}","milestones_url":"https://api.github.com/repos/ContriHUB/ContriHub-18/milestones{/number}","notifications_url":"https://api.github.com/repos/ContriHUB/ContriHub-18/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ContriHUB/ContriHub-18/labels{/name}","releases_url":"https://api.github.com/repos/ContriHUB/ContriHub-18/releases{/id}","deployments_url":"https://api.github.com/repos/ContriHUB/ContriHub-18/deployments","created_at":"2018-08-16T07:54:34Z","updated_at":"2018-10-27T11:59:12Z","pushed_at":"2018-10-27T11:59:10Z","git_url":"git://github.com/ContriHUB/ContriHub-18.git","ssh_url":"git@github.com:ContriHUB/ContriHub-18.git","clone_url":"https://github.com/ContriHUB/ContriHub-18.git","svn_url":"https://github.com/ContriHUB/ContriHub-18","homepage":"","size":7659,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":37,"mirror_url":null,"archived":false,"open_issues_count":7,"license":null,"forks":37,"open_issues":7,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ContriHUB/ContriHub-18/pulls/115"},"html":{"href":"https://github.com/ContriHUB/ContriHub-18/pull/115"},"issue":{"href":"https://api.github.com/repos/ContriHUB/ContriHub-18/issues/115"},"comments":{"href":"https://api.github.com/repos/ContriHUB/ContriHub-18/issues/115/comments"},"review_comments":{"href":"https://api.github.com/repos/ContriHUB/ContriHub-18/pulls/115/comments"},"review_comment":{"href":"https://api.github.com/repos/ContriHUB/ContriHub-18/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ContriHUB/ContriHub-18/pulls/115/commits"},"statuses":{"href":"https://api.github.com/repos/ContriHUB/ContriHub-18/statuses/9b7bb14fda17405ef316d00b4dd5df837a1b9567"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"dbads"}}