{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/shop_goatstee/pulls/comments/185414217","pull_request_review_id":116795800,"id":185414217,"diff_hunk":"@@ -60,12 +61,16 @@ public function update(Category $category, CategoryRequest $request)\n \n     public function destroy(Category $category)\n     {\n+        DB::beginTransaction();\n         try {\n             $this->cateRepository->delele($category);\n+            DB::commit();\n \n             return redirect()->route('categories.index')\n                 ->with('message', trans('admin.category.success_delete'));\n         } catch (Exception $ex) {\n+            DB::rollback();","path":"app/Http/Controllers/Admin/CategoryController.php","position":null,"original_position":20,"commit_id":"d2bd180af7d4029d2d854b3b5123306f84136a70","original_commit_id":"0c8e4dee9b699571530bef13764e9a54a3bf0335","user":{"login":"at-diephq","id":10395607,"avatar_url":"https://avatars1.githubusercontent.com/u/10395607?v=4","gravatar_id":"","url":"https://api.github.com/users/at-diephq","html_url":"https://github.com/at-diephq","followers_url":"https://api.github.com/users/at-diephq/followers","following_url":"https://api.github.com/users/at-diephq/following{/other_user}","gists_url":"https://api.github.com/users/at-diephq/gists{/gist_id}","starred_url":"https://api.github.com/users/at-diephq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/at-diephq/subscriptions","organizations_url":"https://api.github.com/users/at-diephq/orgs","repos_url":"https://api.github.com/users/at-diephq/repos","events_url":"https://api.github.com/users/at-diephq/events{/privacy}","received_events_url":"https://api.github.com/users/at-diephq/received_events","type":"User","site_admin":false},"body":"Bao giờ debug thì bỏ vào, còn web là để chạy trên production nên k đặt log bug ở đây nha em","created_at":"2018-05-02T07:40:17Z","updated_at":"2018-05-02T07:40:17Z","html_url":"https://github.com/framgia/shop_goatstee/pull/19#discussion_r185414217","pull_request_url":"https://api.github.com/repos/framgia/shop_goatstee/pulls/19","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/framgia/shop_goatstee/pulls/comments/185414217"},"html":{"href":"https://github.com/framgia/shop_goatstee/pull/19#discussion_r185414217"},"pull_request":{"href":"https://api.github.com/repos/framgia/shop_goatstee/pulls/19"}},"in_reply_to_id":185410300},"pull_request":{"url":"https://api.github.com/repos/framgia/shop_goatstee/pulls/19","id":185332672,"html_url":"https://github.com/framgia/shop_goatstee/pull/19","diff_url":"https://github.com/framgia/shop_goatstee/pull/19.diff","patch_url":"https://github.com/framgia/shop_goatstee/pull/19.patch","issue_url":"https://api.github.com/repos/framgia/shop_goatstee/issues/19","number":19,"state":"open","locked":false,"title":"CRUD size","user":{"login":"minhnv2306","id":20330426,"avatar_url":"https://avatars1.githubusercontent.com/u/20330426?v=4","gravatar_id":"","url":"https://api.github.com/users/minhnv2306","html_url":"https://github.com/minhnv2306","followers_url":"https://api.github.com/users/minhnv2306/followers","following_url":"https://api.github.com/users/minhnv2306/following{/other_user}","gists_url":"https://api.github.com/users/minhnv2306/gists{/gist_id}","starred_url":"https://api.github.com/users/minhnv2306/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minhnv2306/subscriptions","organizations_url":"https://api.github.com/users/minhnv2306/orgs","repos_url":"https://api.github.com/users/minhnv2306/repos","events_url":"https://api.github.com/users/minhnv2306/events{/privacy}","received_events_url":"https://api.github.com/users/minhnv2306/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-05-02T04:27:04Z","updated_at":"2018-05-02T07:40:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a67610c1ea75f8044e979393881d27d386432c84","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/shop_goatstee/pulls/19/commits","review_comments_url":"https://api.github.com/repos/framgia/shop_goatstee/pulls/19/comments","review_comment_url":"https://api.github.com/repos/framgia/shop_goatstee/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/shop_goatstee/issues/19/comments","statuses_url":"https://api.github.com/repos/framgia/shop_goatstee/statuses/d2bd180af7d4029d2d854b3b5123306f84136a70","head":{"label":"minhnv2306:170689_crud_size","ref":"170689_crud_size","sha":"d2bd180af7d4029d2d854b3b5123306f84136a70","user":{"login":"minhnv2306","id":20330426,"avatar_url":"https://avatars1.githubusercontent.com/u/20330426?v=4","gravatar_id":"","url":"https://api.github.com/users/minhnv2306","html_url":"https://github.com/minhnv2306","followers_url":"https://api.github.com/users/minhnv2306/followers","following_url":"https://api.github.com/users/minhnv2306/following{/other_user}","gists_url":"https://api.github.com/users/minhnv2306/gists{/gist_id}","starred_url":"https://api.github.com/users/minhnv2306/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minhnv2306/subscriptions","organizations_url":"https://api.github.com/users/minhnv2306/orgs","repos_url":"https://api.github.com/users/minhnv2306/repos","events_url":"https://api.github.com/users/minhnv2306/events{/privacy}","received_events_url":"https://api.github.com/users/minhnv2306/received_events","type":"User","site_admin":false},"repo":{"id":129703819,"name":"shop_goatstee","full_name":"minhnv2306/shop_goatstee","owner":{"login":"minhnv2306","id":20330426,"avatar_url":"https://avatars1.githubusercontent.com/u/20330426?v=4","gravatar_id":"","url":"https://api.github.com/users/minhnv2306","html_url":"https://github.com/minhnv2306","followers_url":"https://api.github.com/users/minhnv2306/followers","following_url":"https://api.github.com/users/minhnv2306/following{/other_user}","gists_url":"https://api.github.com/users/minhnv2306/gists{/gist_id}","starred_url":"https://api.github.com/users/minhnv2306/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minhnv2306/subscriptions","organizations_url":"https://api.github.com/users/minhnv2306/orgs","repos_url":"https://api.github.com/users/minhnv2306/repos","events_url":"https://api.github.com/users/minhnv2306/events{/privacy}","received_events_url":"https://api.github.com/users/minhnv2306/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/minhnv2306/shop_goatstee","description":null,"fork":true,"url":"https://api.github.com/repos/minhnv2306/shop_goatstee","forks_url":"https://api.github.com/repos/minhnv2306/shop_goatstee/forks","keys_url":"https://api.github.com/repos/minhnv2306/shop_goatstee/keys{/key_id}","collaborators_url":"https://api.github.com/repos/minhnv2306/shop_goatstee/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/minhnv2306/shop_goatstee/teams","hooks_url":"https://api.github.com/repos/minhnv2306/shop_goatstee/hooks","issue_events_url":"https://api.github.com/repos/minhnv2306/shop_goatstee/issues/events{/number}","events_url":"https://api.github.com/repos/minhnv2306/shop_goatstee/events","assignees_url":"https://api.github.com/repos/minhnv2306/shop_goatstee/assignees{/user}","branches_url":"https://api.github.com/repos/minhnv2306/shop_goatstee/branches{/branch}","tags_url":"https://api.github.com/repos/minhnv2306/shop_goatstee/tags","blobs_url":"https://api.github.com/repos/minhnv2306/shop_goatstee/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/minhnv2306/shop_goatstee/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/minhnv2306/shop_goatstee/git/refs{/sha}","trees_url":"https://api.github.com/repos/minhnv2306/shop_goatstee/git/trees{/sha}","statuses_url":"https://api.github.com/repos/minhnv2306/shop_goatstee/statuses/{sha}","languages_url":"https://api.github.com/repos/minhnv2306/shop_goatstee/languages","stargazers_url":"https://api.github.com/repos/minhnv2306/shop_goatstee/stargazers","contributors_url":"https://api.github.com/repos/minhnv2306/shop_goatstee/contributors","subscribers_url":"https://api.github.com/repos/minhnv2306/shop_goatstee/subscribers","subscription_url":"https://api.github.com/repos/minhnv2306/shop_goatstee/subscription","commits_url":"https://api.github.com/repos/minhnv2306/shop_goatstee/commits{/sha}","git_commits_url":"https://api.github.com/repos/minhnv2306/shop_goatstee/git/commits{/sha}","comments_url":"https://api.github.com/repos/minhnv2306/shop_goatstee/comments{/number}","issue_comment_url":"https://api.github.com/repos/minhnv2306/shop_goatstee/issues/comments{/number}","contents_url":"https://api.github.com/repos/minhnv2306/shop_goatstee/contents/{+path}","compare_url":"https://api.github.com/repos/minhnv2306/shop_goatstee/compare/{base}...{head}","merges_url":"https://api.github.com/repos/minhnv2306/shop_goatstee/merges","archive_url":"https://api.github.com/repos/minhnv2306/shop_goatstee/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/minhnv2306/shop_goatstee/downloads","issues_url":"https://api.github.com/repos/minhnv2306/shop_goatstee/issues{/number}","pulls_url":"https://api.github.com/repos/minhnv2306/shop_goatstee/pulls{/number}","milestones_url":"https://api.github.com/repos/minhnv2306/shop_goatstee/milestones{/number}","notifications_url":"https://api.github.com/repos/minhnv2306/shop_goatstee/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/minhnv2306/shop_goatstee/labels{/name}","releases_url":"https://api.github.com/repos/minhnv2306/shop_goatstee/releases{/id}","deployments_url":"https://api.github.com/repos/minhnv2306/shop_goatstee/deployments","created_at":"2018-04-16T07:38:07Z","updated_at":"2018-04-16T07:38:10Z","pushed_at":"2018-05-02T07:39:08Z","git_url":"git://github.com/minhnv2306/shop_goatstee.git","ssh_url":"git@github.com:minhnv2306/shop_goatstee.git","clone_url":"https://github.com/minhnv2306/shop_goatstee.git","svn_url":"https://github.com/minhnv2306/shop_goatstee","homepage":null,"size":4444,"stargazers_count":0,"watchers_count":0,"language":null,"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":"framgia:develop","ref":"develop","sha":"eadab852eb800ecff5755ce5a5d082a70e0862bb","user":{"login":"framgia","id":2322183,"avatar_url":"https://avatars3.githubusercontent.com/u/2322183?v=4","gravatar_id":"","url":"https://api.github.com/users/framgia","html_url":"https://github.com/framgia","followers_url":"https://api.github.com/users/framgia/followers","following_url":"https://api.github.com/users/framgia/following{/other_user}","gists_url":"https://api.github.com/users/framgia/gists{/gist_id}","starred_url":"https://api.github.com/users/framgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/framgia/subscriptions","organizations_url":"https://api.github.com/users/framgia/orgs","repos_url":"https://api.github.com/users/framgia/repos","events_url":"https://api.github.com/users/framgia/events{/privacy}","received_events_url":"https://api.github.com/users/framgia/received_events","type":"Organization","site_admin":false},"repo":{"id":129683440,"name":"shop_goatstee","full_name":"framgia/shop_goatstee","owner":{"login":"framgia","id":2322183,"avatar_url":"https://avatars3.githubusercontent.com/u/2322183?v=4","gravatar_id":"","url":"https://api.github.com/users/framgia","html_url":"https://github.com/framgia","followers_url":"https://api.github.com/users/framgia/followers","following_url":"https://api.github.com/users/framgia/following{/other_user}","gists_url":"https://api.github.com/users/framgia/gists{/gist_id}","starred_url":"https://api.github.com/users/framgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/framgia/subscriptions","organizations_url":"https://api.github.com/users/framgia/orgs","repos_url":"https://api.github.com/users/framgia/repos","events_url":"https://api.github.com/users/framgia/events{/privacy}","received_events_url":"https://api.github.com/users/framgia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/framgia/shop_goatstee","description":null,"fork":false,"url":"https://api.github.com/repos/framgia/shop_goatstee","forks_url":"https://api.github.com/repos/framgia/shop_goatstee/forks","keys_url":"https://api.github.com/repos/framgia/shop_goatstee/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/shop_goatstee/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/shop_goatstee/teams","hooks_url":"https://api.github.com/repos/framgia/shop_goatstee/hooks","issue_events_url":"https://api.github.com/repos/framgia/shop_goatstee/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/shop_goatstee/events","assignees_url":"https://api.github.com/repos/framgia/shop_goatstee/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/shop_goatstee/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/shop_goatstee/tags","blobs_url":"https://api.github.com/repos/framgia/shop_goatstee/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/shop_goatstee/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/shop_goatstee/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/shop_goatstee/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/shop_goatstee/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/shop_goatstee/languages","stargazers_url":"https://api.github.com/repos/framgia/shop_goatstee/stargazers","contributors_url":"https://api.github.com/repos/framgia/shop_goatstee/contributors","subscribers_url":"https://api.github.com/repos/framgia/shop_goatstee/subscribers","subscription_url":"https://api.github.com/repos/framgia/shop_goatstee/subscription","commits_url":"https://api.github.com/repos/framgia/shop_goatstee/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/shop_goatstee/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/shop_goatstee/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/shop_goatstee/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/shop_goatstee/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/shop_goatstee/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/shop_goatstee/merges","archive_url":"https://api.github.com/repos/framgia/shop_goatstee/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/shop_goatstee/downloads","issues_url":"https://api.github.com/repos/framgia/shop_goatstee/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/shop_goatstee/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/shop_goatstee/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/shop_goatstee/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/shop_goatstee/labels{/name}","releases_url":"https://api.github.com/repos/framgia/shop_goatstee/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/shop_goatstee/deployments","created_at":"2018-04-16T04:14:06Z","updated_at":"2018-04-16T04:14:09Z","pushed_at":"2018-05-02T07:39:09Z","git_url":"git://github.com/framgia/shop_goatstee.git","ssh_url":"git@github.com:framgia/shop_goatstee.git","clone_url":"https://github.com/framgia/shop_goatstee.git","svn_url":"https://github.com/framgia/shop_goatstee","homepage":null,"size":4410,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/shop_goatstee/pulls/19"},"html":{"href":"https://github.com/framgia/shop_goatstee/pull/19"},"issue":{"href":"https://api.github.com/repos/framgia/shop_goatstee/issues/19"},"comments":{"href":"https://api.github.com/repos/framgia/shop_goatstee/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/shop_goatstee/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/shop_goatstee/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/shop_goatstee/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/shop_goatstee/statuses/d2bd180af7d4029d2d854b3b5123306f84136a70"}},"author_association":"NONE"}}
{"actor":{"display_login":"at-diephq"}}