{"action":"created","comment":{"url":"https://api.github.com/repos/systemli/user-management/pulls/comments/222279963","pull_request_review_id":161125730,"id":222279963,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMjI3OTk2Mw==","diff_hunk":"@@ -30,79 +30,126 @@ class StartController extends Controller\n      */\n     public function indexAction(Request $request)\n     {\n-        $authChecker = $this->container->get('security.authorization_checker');\n+        if (!$this->isGranted('IS_AUTHENTICATED_FULLY')) {\n+            return $this->render('Start/index_anonymous.html.twig');\n+        }\n \n-        if ($authChecker->isGranted('IS_AUTHENTICATED_FULLY')) {\n-            /** @var User $user */\n-            $user = $this->get('security.token_storage')->getToken()->getUser();\n-            $voucherRepository = $this->get('doctrine')->getRepository('App:Voucher');\n+        /**\n+         * @var User $user\n+         */\n+        $user = $this->getUser();\n \n-            $codes = $voucherRepository->findOrCreateByUser($user);\n+        $voucherRepository = $this->get('doctrine')->getRepository('App:Voucher');\n+        $vouchers = $voucherRepository->findOrCreateByUser($user);\n \n-            $passwordChange = new PasswordChange();\n-            $form = $this->createForm(\n-                PasswordChangeType::class,\n-                $passwordChange,\n-                [\n-                    'action' => $this->generateUrl('index'),\n-                    'method' => 'post',\n-                ]\n-            );\n-\n-            $voucherForm = $this->createForm(\n-                VoucherCreateType::class,\n-                new VoucherCreate(),\n-                [\n-                    'action' => $this->generateUrl('index'),\n-                    'method' => 'post',\n-                ]\n-            );\n-\n-            if ('POST' === $request->getMethod()) {\n-                if ($request->request->has('create_voucher')) {\n-                    $voucherForm->handleRequest($request);\n-\n-                    if ($voucherForm->isSubmitted() && $voucherForm->isValid()) {\n-                        if ($authChecker->isGranted('ROLE_SUPPORT')) {\n-                            $voucher = $voucherRepository->createByUser($user);\n-\n-                            if ($voucher instanceof Voucher) {\n-                                $request->getSession()->getFlashBag()->add('success', 'flashes.voucher-creation-successful');\n-                            }\n-                        }\n-\n-                        return $this->redirect($this->generateUrl('index'));\n-                    }\n-                } else {\n-                    $form->handleRequest($request);\n+        $passwordChange = new PasswordChange();\n+        $passwordChangeForm = $this->getPasswordChangeForm($passwordChange);\n \n-                    if ($form->isSubmitted() && $form->isValid()) {\n-                        $user->setPlainPassword($passwordChange->newPassword);\n+        $voucherCreateForm = $this->getVoucherCreateForm();\n \n-                        $this->get(PasswordUpdater::class)->updatePassword($user);\n+        return $this->render('Start/index.html.twig', array(\n+            'user' => $user,\n+            'vouchers' => $vouchers,\n+            'form' => $passwordChangeForm->createView(),\n+            'voucher_form' => $voucherCreateForm->createView(),\n+        ));\n+    }\n+\n+    public function voucherCreateAction(Request $request)\n+    {\n+        if ('POST' === $request->getMethod()) {\n+            /**\n+             * @var User $user\n+             */\n+            $user = $this->getUser();\n \n-                        $this->getDoctrine()->getManager()->flush();\n+            $voucherCreateForm = $this->getVoucherCreateForm();\n+\n+            $voucherRepository = $this->get('doctrine')->getRepository('App:Voucher');\n \n-                        $this->get('event_dispatcher')->dispatch(\n-                            Events::MAIL_ACCOUNT_PASSWORD_CHANGED,\n-                            new UserEvent($user)\n-                        );\n+            $voucherCreateForm->handleRequest($request);\n \n-                        $request->getSession()->getFlashBag()->add('success', 'flashes.password-change-successful');\n+            if ($voucherCreateForm->isSubmitted() && $voucherCreateForm->isValid()) {\n+                if ($this->isGranted('ROLE_SUPPORT')) {\n+                    $voucher = $voucherRepository->createByUser($user);\n \n-                        return $this->redirect($this->generateUrl('index'));\n+                    if ($voucher instanceof Voucher) {\n+                        $request->getSession()->getFlashBag()->add('success', 'flashes.voucher-creation-successful');\n                     }\n                 }\n+\n+                return $this->redirect($this->generateUrl('index'));\n             }\n+        } else {\n+            return $this->redirect($this->generateUrl('index'));\n+        }\n+    }\n+\n+    /**\n+     * @param Request $request\n+     * @return RedirectResponse\n+     */\n+    public function passwordChangeAction(Request $request)\n+    {\n+        if ('POST' === $request->getMethod()) {\n+            /**\n+             * @var User $user\n+             */\n+            $user = $this->getUser();\n \n-            return $this->render('Start/index.html.twig', array(\n-                'user' => $user,\n-                'codes' => $codes,\n-                'form' => $form->createView(),\n-                'voucher_form' => $voucherForm->createView(),\n-            ));\n+            $passwordChange = new PasswordChange();\n+            $passwordChangeForm = $this->getPasswordChangeForm($passwordChange);\n+\n+            $passwordChangeForm->handleRequest($request);\n+\n+            if ($passwordChangeForm->isSubmitted() && $passwordChangeForm->isValid()) {\n+                $user->setPlainPassword($passwordChange->newPassword);\n+\n+                $this->get(PasswordUpdater::class)->updatePassword($user);\n+\n+                $this->getDoctrine()->getManager()->flush();\n+\n+                $this->get('event_dispatcher')->dispatch(\n+                    Events::MAIL_ACCOUNT_PASSWORD_CHANGED,\n+                    new UserEvent($user)\n+                );\n+\n+                $request->getSession()->getFlashBag()->add('success', 'flashes.password-change-successful');\n+\n+                return $this->redirect($this->generateUrl('index'));\n+            }\n         } else {\n-            return $this->render('Start/index_anonymous.html.twig');\n+            return $this->redirect($this->generateUrl('index'));\n         }\n     }\n+\n+    private function getVoucherCreateForm()","path":"src/Controller/StartController.php","position":157,"original_position":156,"commit_id":"7d0ad2f67bfcea49dd69057fa11232c201a3107c","original_commit_id":"dee980106658e2acadb9ceb25c8dc850d2ac338c","user":{"login":"doobry-systemli","id":25278864,"node_id":"MDQ6VXNlcjI1Mjc4ODY0","avatar_url":"https://avatars2.githubusercontent.com/u/25278864?v=4","gravatar_id":"","url":"https://api.github.com/users/doobry-systemli","html_url":"https://github.com/doobry-systemli","followers_url":"https://api.github.com/users/doobry-systemli/followers","following_url":"https://api.github.com/users/doobry-systemli/following{/other_user}","gists_url":"https://api.github.com/users/doobry-systemli/gists{/gist_id}","starred_url":"https://api.github.com/users/doobry-systemli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doobry-systemli/subscriptions","organizations_url":"https://api.github.com/users/doobry-systemli/orgs","repos_url":"https://api.github.com/users/doobry-systemli/repos","events_url":"https://api.github.com/users/doobry-systemli/events{/privacy}","received_events_url":"https://api.github.com/users/doobry-systemli/received_events","type":"User","site_admin":false},"body":"done","created_at":"2018-10-03T11:53:56Z","updated_at":"2018-10-03T11:53:57Z","html_url":"https://github.com/systemli/user-management/pull/18#discussion_r222279963","pull_request_url":"https://api.github.com/repos/systemli/user-management/pulls/18","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/systemli/user-management/pulls/comments/222279963"},"html":{"href":"https://github.com/systemli/user-management/pull/18#discussion_r222279963"},"pull_request":{"href":"https://api.github.com/repos/systemli/user-management/pulls/18"}},"in_reply_to_id":222269083},"pull_request":{"url":"https://api.github.com/repos/systemli/user-management/pulls/18","id":219995815,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE5OTk1ODE1","html_url":"https://github.com/systemli/user-management/pull/18","diff_url":"https://github.com/systemli/user-management/pull/18.diff","patch_url":"https://github.com/systemli/user-management/pull/18.patch","issue_url":"https://api.github.com/repos/systemli/user-management/issues/18","number":18,"state":"open","locked":false,"title":"Refactor startcontroller","user":{"login":"doobry-systemli","id":25278864,"node_id":"MDQ6VXNlcjI1Mjc4ODY0","avatar_url":"https://avatars2.githubusercontent.com/u/25278864?v=4","gravatar_id":"","url":"https://api.github.com/users/doobry-systemli","html_url":"https://github.com/doobry-systemli","followers_url":"https://api.github.com/users/doobry-systemli/followers","following_url":"https://api.github.com/users/doobry-systemli/following{/other_user}","gists_url":"https://api.github.com/users/doobry-systemli/gists{/gist_id}","starred_url":"https://api.github.com/users/doobry-systemli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doobry-systemli/subscriptions","organizations_url":"https://api.github.com/users/doobry-systemli/orgs","repos_url":"https://api.github.com/users/doobry-systemli/repos","events_url":"https://api.github.com/users/doobry-systemli/events{/privacy}","received_events_url":"https://api.github.com/users/doobry-systemli/received_events","type":"User","site_admin":false},"body":"Refactor StartController and twig template `Start/index.html.twig`","created_at":"2018-10-03T11:02:00Z","updated_at":"2018-10-03T11:53:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d371b68dc0a4b17bb9a0e23deb5fa9bfea66aa31","assignee":{"login":"0x46616c6b","id":363667,"node_id":"MDQ6VXNlcjM2MzY2Nw==","avatar_url":"https://avatars2.githubusercontent.com/u/363667?v=4","gravatar_id":"","url":"https://api.github.com/users/0x46616c6b","html_url":"https://github.com/0x46616c6b","followers_url":"https://api.github.com/users/0x46616c6b/followers","following_url":"https://api.github.com/users/0x46616c6b/following{/other_user}","gists_url":"https://api.github.com/users/0x46616c6b/gists{/gist_id}","starred_url":"https://api.github.com/users/0x46616c6b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0x46616c6b/subscriptions","organizations_url":"https://api.github.com/users/0x46616c6b/orgs","repos_url":"https://api.github.com/users/0x46616c6b/repos","events_url":"https://api.github.com/users/0x46616c6b/events{/privacy}","received_events_url":"https://api.github.com/users/0x46616c6b/received_events","type":"User","site_admin":false},"assignees":[{"login":"0x46616c6b","id":363667,"node_id":"MDQ6VXNlcjM2MzY2Nw==","avatar_url":"https://avatars2.githubusercontent.com/u/363667?v=4","gravatar_id":"","url":"https://api.github.com/users/0x46616c6b","html_url":"https://github.com/0x46616c6b","followers_url":"https://api.github.com/users/0x46616c6b/followers","following_url":"https://api.github.com/users/0x46616c6b/following{/other_user}","gists_url":"https://api.github.com/users/0x46616c6b/gists{/gist_id}","starred_url":"https://api.github.com/users/0x46616c6b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0x46616c6b/subscriptions","organizations_url":"https://api.github.com/users/0x46616c6b/orgs","repos_url":"https://api.github.com/users/0x46616c6b/repos","events_url":"https://api.github.com/users/0x46616c6b/events{/privacy}","received_events_url":"https://api.github.com/users/0x46616c6b/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/systemli/user-management/pulls/18/commits","review_comments_url":"https://api.github.com/repos/systemli/user-management/pulls/18/comments","review_comment_url":"https://api.github.com/repos/systemli/user-management/pulls/comments{/number}","comments_url":"https://api.github.com/repos/systemli/user-management/issues/18/comments","statuses_url":"https://api.github.com/repos/systemli/user-management/statuses/7d0ad2f67bfcea49dd69057fa11232c201a3107c","head":{"label":"systemli:refactor_startcontroller","ref":"refactor_startcontroller","sha":"7d0ad2f67bfcea49dd69057fa11232c201a3107c","user":{"login":"systemli","id":9871925,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk4NzE5MjU=","avatar_url":"https://avatars1.githubusercontent.com/u/9871925?v=4","gravatar_id":"","url":"https://api.github.com/users/systemli","html_url":"https://github.com/systemli","followers_url":"https://api.github.com/users/systemli/followers","following_url":"https://api.github.com/users/systemli/following{/other_user}","gists_url":"https://api.github.com/users/systemli/gists{/gist_id}","starred_url":"https://api.github.com/users/systemli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/systemli/subscriptions","organizations_url":"https://api.github.com/users/systemli/orgs","repos_url":"https://api.github.com/users/systemli/repos","events_url":"https://api.github.com/users/systemli/events{/privacy}","received_events_url":"https://api.github.com/users/systemli/received_events","type":"Organization","site_admin":false},"repo":{"id":149298122,"node_id":"MDEwOlJlcG9zaXRvcnkxNDkyOTgxMjI=","name":"user-management","full_name":"systemli/user-management","private":false,"owner":{"login":"systemli","id":9871925,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk4NzE5MjU=","avatar_url":"https://avatars1.githubusercontent.com/u/9871925?v=4","gravatar_id":"","url":"https://api.github.com/users/systemli","html_url":"https://github.com/systemli","followers_url":"https://api.github.com/users/systemli/followers","following_url":"https://api.github.com/users/systemli/following{/other_user}","gists_url":"https://api.github.com/users/systemli/gists{/gist_id}","starred_url":"https://api.github.com/users/systemli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/systemli/subscriptions","organizations_url":"https://api.github.com/users/systemli/orgs","repos_url":"https://api.github.com/users/systemli/repos","events_url":"https://api.github.com/users/systemli/events{/privacy}","received_events_url":"https://api.github.com/users/systemli/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/systemli/user-management","description":"Symfony-based webapp to manage mail users and their interactions","fork":false,"url":"https://api.github.com/repos/systemli/user-management","forks_url":"https://api.github.com/repos/systemli/user-management/forks","keys_url":"https://api.github.com/repos/systemli/user-management/keys{/key_id}","collaborators_url":"https://api.github.com/repos/systemli/user-management/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/systemli/user-management/teams","hooks_url":"https://api.github.com/repos/systemli/user-management/hooks","issue_events_url":"https://api.github.com/repos/systemli/user-management/issues/events{/number}","events_url":"https://api.github.com/repos/systemli/user-management/events","assignees_url":"https://api.github.com/repos/systemli/user-management/assignees{/user}","branches_url":"https://api.github.com/repos/systemli/user-management/branches{/branch}","tags_url":"https://api.github.com/repos/systemli/user-management/tags","blobs_url":"https://api.github.com/repos/systemli/user-management/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/systemli/user-management/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/systemli/user-management/git/refs{/sha}","trees_url":"https://api.github.com/repos/systemli/user-management/git/trees{/sha}","statuses_url":"https://api.github.com/repos/systemli/user-management/statuses/{sha}","languages_url":"https://api.github.com/repos/systemli/user-management/languages","stargazers_url":"https://api.github.com/repos/systemli/user-management/stargazers","contributors_url":"https://api.github.com/repos/systemli/user-management/contributors","subscribers_url":"https://api.github.com/repos/systemli/user-management/subscribers","subscription_url":"https://api.github.com/repos/systemli/user-management/subscription","commits_url":"https://api.github.com/repos/systemli/user-management/commits{/sha}","git_commits_url":"https://api.github.com/repos/systemli/user-management/git/commits{/sha}","comments_url":"https://api.github.com/repos/systemli/user-management/comments{/number}","issue_comment_url":"https://api.github.com/repos/systemli/user-management/issues/comments{/number}","contents_url":"https://api.github.com/repos/systemli/user-management/contents/{+path}","compare_url":"https://api.github.com/repos/systemli/user-management/compare/{base}...{head}","merges_url":"https://api.github.com/repos/systemli/user-management/merges","archive_url":"https://api.github.com/repos/systemli/user-management/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/systemli/user-management/downloads","issues_url":"https://api.github.com/repos/systemli/user-management/issues{/number}","pulls_url":"https://api.github.com/repos/systemli/user-management/pulls{/number}","milestones_url":"https://api.github.com/repos/systemli/user-management/milestones{/number}","notifications_url":"https://api.github.com/repos/systemli/user-management/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/systemli/user-management/labels{/name}","releases_url":"https://api.github.com/repos/systemli/user-management/releases{/id}","deployments_url":"https://api.github.com/repos/systemli/user-management/deployments","created_at":"2018-09-18T14:03:04Z","updated_at":"2018-10-03T10:15:59Z","pushed_at":"2018-10-03T11:53:23Z","git_url":"git://github.com/systemli/user-management.git","ssh_url":"git@github.com:systemli/user-management.git","clone_url":"https://github.com/systemli/user-management.git","svn_url":"https://github.com/systemli/user-management","homepage":null,"size":380,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":0,"open_issues":5,"watchers":2,"default_branch":"master"}},"base":{"label":"systemli:master","ref":"master","sha":"9991fdc28324843d041b7878e34716d45ca9730c","user":{"login":"systemli","id":9871925,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk4NzE5MjU=","avatar_url":"https://avatars1.githubusercontent.com/u/9871925?v=4","gravatar_id":"","url":"https://api.github.com/users/systemli","html_url":"https://github.com/systemli","followers_url":"https://api.github.com/users/systemli/followers","following_url":"https://api.github.com/users/systemli/following{/other_user}","gists_url":"https://api.github.com/users/systemli/gists{/gist_id}","starred_url":"https://api.github.com/users/systemli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/systemli/subscriptions","organizations_url":"https://api.github.com/users/systemli/orgs","repos_url":"https://api.github.com/users/systemli/repos","events_url":"https://api.github.com/users/systemli/events{/privacy}","received_events_url":"https://api.github.com/users/systemli/received_events","type":"Organization","site_admin":false},"repo":{"id":149298122,"node_id":"MDEwOlJlcG9zaXRvcnkxNDkyOTgxMjI=","name":"user-management","full_name":"systemli/user-management","private":false,"owner":{"login":"systemli","id":9871925,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk4NzE5MjU=","avatar_url":"https://avatars1.githubusercontent.com/u/9871925?v=4","gravatar_id":"","url":"https://api.github.com/users/systemli","html_url":"https://github.com/systemli","followers_url":"https://api.github.com/users/systemli/followers","following_url":"https://api.github.com/users/systemli/following{/other_user}","gists_url":"https://api.github.com/users/systemli/gists{/gist_id}","starred_url":"https://api.github.com/users/systemli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/systemli/subscriptions","organizations_url":"https://api.github.com/users/systemli/orgs","repos_url":"https://api.github.com/users/systemli/repos","events_url":"https://api.github.com/users/systemli/events{/privacy}","received_events_url":"https://api.github.com/users/systemli/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/systemli/user-management","description":"Symfony-based webapp to manage mail users and their interactions","fork":false,"url":"https://api.github.com/repos/systemli/user-management","forks_url":"https://api.github.com/repos/systemli/user-management/forks","keys_url":"https://api.github.com/repos/systemli/user-management/keys{/key_id}","collaborators_url":"https://api.github.com/repos/systemli/user-management/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/systemli/user-management/teams","hooks_url":"https://api.github.com/repos/systemli/user-management/hooks","issue_events_url":"https://api.github.com/repos/systemli/user-management/issues/events{/number}","events_url":"https://api.github.com/repos/systemli/user-management/events","assignees_url":"https://api.github.com/repos/systemli/user-management/assignees{/user}","branches_url":"https://api.github.com/repos/systemli/user-management/branches{/branch}","tags_url":"https://api.github.com/repos/systemli/user-management/tags","blobs_url":"https://api.github.com/repos/systemli/user-management/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/systemli/user-management/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/systemli/user-management/git/refs{/sha}","trees_url":"https://api.github.com/repos/systemli/user-management/git/trees{/sha}","statuses_url":"https://api.github.com/repos/systemli/user-management/statuses/{sha}","languages_url":"https://api.github.com/repos/systemli/user-management/languages","stargazers_url":"https://api.github.com/repos/systemli/user-management/stargazers","contributors_url":"https://api.github.com/repos/systemli/user-management/contributors","subscribers_url":"https://api.github.com/repos/systemli/user-management/subscribers","subscription_url":"https://api.github.com/repos/systemli/user-management/subscription","commits_url":"https://api.github.com/repos/systemli/user-management/commits{/sha}","git_commits_url":"https://api.github.com/repos/systemli/user-management/git/commits{/sha}","comments_url":"https://api.github.com/repos/systemli/user-management/comments{/number}","issue_comment_url":"https://api.github.com/repos/systemli/user-management/issues/comments{/number}","contents_url":"https://api.github.com/repos/systemli/user-management/contents/{+path}","compare_url":"https://api.github.com/repos/systemli/user-management/compare/{base}...{head}","merges_url":"https://api.github.com/repos/systemli/user-management/merges","archive_url":"https://api.github.com/repos/systemli/user-management/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/systemli/user-management/downloads","issues_url":"https://api.github.com/repos/systemli/user-management/issues{/number}","pulls_url":"https://api.github.com/repos/systemli/user-management/pulls{/number}","milestones_url":"https://api.github.com/repos/systemli/user-management/milestones{/number}","notifications_url":"https://api.github.com/repos/systemli/user-management/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/systemli/user-management/labels{/name}","releases_url":"https://api.github.com/repos/systemli/user-management/releases{/id}","deployments_url":"https://api.github.com/repos/systemli/user-management/deployments","created_at":"2018-09-18T14:03:04Z","updated_at":"2018-10-03T10:15:59Z","pushed_at":"2018-10-03T11:53:23Z","git_url":"git://github.com/systemli/user-management.git","ssh_url":"git@github.com:systemli/user-management.git","clone_url":"https://github.com/systemli/user-management.git","svn_url":"https://github.com/systemli/user-management","homepage":null,"size":380,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":0,"open_issues":5,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/systemli/user-management/pulls/18"},"html":{"href":"https://github.com/systemli/user-management/pull/18"},"issue":{"href":"https://api.github.com/repos/systemli/user-management/issues/18"},"comments":{"href":"https://api.github.com/repos/systemli/user-management/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/systemli/user-management/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/systemli/user-management/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/systemli/user-management/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/systemli/user-management/statuses/7d0ad2f67bfcea49dd69057fa11232c201a3107c"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"doobry-systemli"}}