{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/fels_107/pulls/comments/51545220","id":51545220,"diff_hunk":"@@ -34,12 +34,17 @@ public function activity()\n         return $this->hasOne(Activity::class, 'lesson_id');\n     }\n \n-    public function generateLessonWords()\n+    public function getLearnedWords($id)","path":"app/Lesson.php","position":5,"original_position":5,"commit_id":"8db4ffce55c707dcdd22c963ab38ca0b95d114a0","original_commit_id":"8db4ffce55c707dcdd22c963ab38ca0b95d114a0","user":{"login":"nguyenthanhtung88","id":11342207,"avatar_url":"https://avatars.githubusercontent.com/u/11342207?v=3","gravatar_id":"","url":"https://api.github.com/users/nguyenthanhtung88","html_url":"https://github.com/nguyenthanhtung88","followers_url":"https://api.github.com/users/nguyenthanhtung88/followers","following_url":"https://api.github.com/users/nguyenthanhtung88/following{/other_user}","gists_url":"https://api.github.com/users/nguyenthanhtung88/gists{/gist_id}","starred_url":"https://api.github.com/users/nguyenthanhtung88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nguyenthanhtung88/subscriptions","organizations_url":"https://api.github.com/users/nguyenthanhtung88/orgs","repos_url":"https://api.github.com/users/nguyenthanhtung88/repos","events_url":"https://api.github.com/users/nguyenthanhtung88/events{/privacy}","received_events_url":"https://api.github.com/users/nguyenthanhtung88/received_events","type":"User","site_admin":false},"body":"I think `$id` should be renamed to `$userId`.","created_at":"2016-02-02T09:47:24Z","updated_at":"2016-02-02T09:47:24Z","html_url":"https://github.com/framgia/fels_107/pull/17#discussion_r51545220","pull_request_url":"https://api.github.com/repos/framgia/fels_107/pulls/17","_links":{"self":{"href":"https://api.github.com/repos/framgia/fels_107/pulls/comments/51545220"},"html":{"href":"https://github.com/framgia/fels_107/pull/17#discussion_r51545220"},"pull_request":{"href":"https://api.github.com/repos/framgia/fels_107/pulls/17"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/fels_107/pulls/17","id":57939040,"html_url":"https://github.com/framgia/fels_107/pull/17","diff_url":"https://github.com/framgia/fels_107/pull/17.diff","patch_url":"https://github.com/framgia/fels_107/pull/17.patch","issue_url":"https://api.github.com/repos/framgia/fels_107/issues/17","number":17,"state":"open","locked":false,"title":"Word List filter, edited Lesson Model for getLearnedWords()","user":{"login":"avminon","id":16562366,"avatar_url":"https://avatars.githubusercontent.com/u/16562366?v=3","gravatar_id":"","url":"https://api.github.com/users/avminon","html_url":"https://github.com/avminon","followers_url":"https://api.github.com/users/avminon/followers","following_url":"https://api.github.com/users/avminon/following{/other_user}","gists_url":"https://api.github.com/users/avminon/gists{/gist_id}","starred_url":"https://api.github.com/users/avminon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avminon/subscriptions","organizations_url":"https://api.github.com/users/avminon/orgs","repos_url":"https://api.github.com/users/avminon/repos","events_url":"https://api.github.com/users/avminon/events{/privacy}","received_events_url":"https://api.github.com/users/avminon/received_events","type":"User","site_admin":false},"body":"Added Word List filter and search, edited Lesson Model for getLearnedWords()","created_at":"2016-02-02T04:24:34Z","updated_at":"2016-02-02T09:47:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d103b842bfdeb49528c4f6e5da3f8bd1592a2208","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/framgia/fels_107/pulls/17/commits","review_comments_url":"https://api.github.com/repos/framgia/fels_107/pulls/17/comments","review_comment_url":"https://api.github.com/repos/framgia/fels_107/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/fels_107/issues/17/comments","statuses_url":"https://api.github.com/repos/framgia/fels_107/statuses/8db4ffce55c707dcdd22c963ab38ca0b95d114a0","head":{"label":"avminon:wordlist","ref":"wordlist","sha":"8db4ffce55c707dcdd22c963ab38ca0b95d114a0","user":{"login":"avminon","id":16562366,"avatar_url":"https://avatars.githubusercontent.com/u/16562366?v=3","gravatar_id":"","url":"https://api.github.com/users/avminon","html_url":"https://github.com/avminon","followers_url":"https://api.github.com/users/avminon/followers","following_url":"https://api.github.com/users/avminon/following{/other_user}","gists_url":"https://api.github.com/users/avminon/gists{/gist_id}","starred_url":"https://api.github.com/users/avminon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avminon/subscriptions","organizations_url":"https://api.github.com/users/avminon/orgs","repos_url":"https://api.github.com/users/avminon/repos","events_url":"https://api.github.com/users/avminon/events{/privacy}","received_events_url":"https://api.github.com/users/avminon/received_events","type":"User","site_admin":false},"repo":{"id":49621001,"name":"fels_107","full_name":"avminon/fels_107","owner":{"login":"avminon","id":16562366,"avatar_url":"https://avatars.githubusercontent.com/u/16562366?v=3","gravatar_id":"","url":"https://api.github.com/users/avminon","html_url":"https://github.com/avminon","followers_url":"https://api.github.com/users/avminon/followers","following_url":"https://api.github.com/users/avminon/following{/other_user}","gists_url":"https://api.github.com/users/avminon/gists{/gist_id}","starred_url":"https://api.github.com/users/avminon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avminon/subscriptions","organizations_url":"https://api.github.com/users/avminon/orgs","repos_url":"https://api.github.com/users/avminon/repos","events_url":"https://api.github.com/users/avminon/events{/privacy}","received_events_url":"https://api.github.com/users/avminon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/avminon/fels_107","description":"Framgia E-Learning System (training)","fork":true,"url":"https://api.github.com/repos/avminon/fels_107","forks_url":"https://api.github.com/repos/avminon/fels_107/forks","keys_url":"https://api.github.com/repos/avminon/fels_107/keys{/key_id}","collaborators_url":"https://api.github.com/repos/avminon/fels_107/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/avminon/fels_107/teams","hooks_url":"https://api.github.com/repos/avminon/fels_107/hooks","issue_events_url":"https://api.github.com/repos/avminon/fels_107/issues/events{/number}","events_url":"https://api.github.com/repos/avminon/fels_107/events","assignees_url":"https://api.github.com/repos/avminon/fels_107/assignees{/user}","branches_url":"https://api.github.com/repos/avminon/fels_107/branches{/branch}","tags_url":"https://api.github.com/repos/avminon/fels_107/tags","blobs_url":"https://api.github.com/repos/avminon/fels_107/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/avminon/fels_107/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/avminon/fels_107/git/refs{/sha}","trees_url":"https://api.github.com/repos/avminon/fels_107/git/trees{/sha}","statuses_url":"https://api.github.com/repos/avminon/fels_107/statuses/{sha}","languages_url":"https://api.github.com/repos/avminon/fels_107/languages","stargazers_url":"https://api.github.com/repos/avminon/fels_107/stargazers","contributors_url":"https://api.github.com/repos/avminon/fels_107/contributors","subscribers_url":"https://api.github.com/repos/avminon/fels_107/subscribers","subscription_url":"https://api.github.com/repos/avminon/fels_107/subscription","commits_url":"https://api.github.com/repos/avminon/fels_107/commits{/sha}","git_commits_url":"https://api.github.com/repos/avminon/fels_107/git/commits{/sha}","comments_url":"https://api.github.com/repos/avminon/fels_107/comments{/number}","issue_comment_url":"https://api.github.com/repos/avminon/fels_107/issues/comments{/number}","contents_url":"https://api.github.com/repos/avminon/fels_107/contents/{+path}","compare_url":"https://api.github.com/repos/avminon/fels_107/compare/{base}...{head}","merges_url":"https://api.github.com/repos/avminon/fels_107/merges","archive_url":"https://api.github.com/repos/avminon/fels_107/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/avminon/fels_107/downloads","issues_url":"https://api.github.com/repos/avminon/fels_107/issues{/number}","pulls_url":"https://api.github.com/repos/avminon/fels_107/pulls{/number}","milestones_url":"https://api.github.com/repos/avminon/fels_107/milestones{/number}","notifications_url":"https://api.github.com/repos/avminon/fels_107/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/avminon/fels_107/labels{/name}","releases_url":"https://api.github.com/repos/avminon/fels_107/releases{/id}","deployments_url":"https://api.github.com/repos/avminon/fels_107/deployments","created_at":"2016-01-14T03:46:55Z","updated_at":"2016-01-16T09:40:26Z","pushed_at":"2016-02-02T04:21:03Z","git_url":"git://github.com/avminon/fels_107.git","ssh_url":"git@github.com:avminon/fels_107.git","clone_url":"https://github.com/avminon/fels_107.git","svn_url":"https://github.com/avminon/fels_107","homepage":null,"size":203,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":"framgia:develop","ref":"develop","sha":"164573303da2d7ce1a7b562029205c70cfa8ae0f","user":{"login":"framgia","id":2322183,"avatar_url":"https://avatars.githubusercontent.com/u/2322183?v=3","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":49479454,"name":"fels_107","full_name":"framgia/fels_107","owner":{"login":"framgia","id":2322183,"avatar_url":"https://avatars.githubusercontent.com/u/2322183?v=3","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/fels_107","description":"Framgia E-Learning System (training)","fork":false,"url":"https://api.github.com/repos/framgia/fels_107","forks_url":"https://api.github.com/repos/framgia/fels_107/forks","keys_url":"https://api.github.com/repos/framgia/fels_107/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/fels_107/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/fels_107/teams","hooks_url":"https://api.github.com/repos/framgia/fels_107/hooks","issue_events_url":"https://api.github.com/repos/framgia/fels_107/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/fels_107/events","assignees_url":"https://api.github.com/repos/framgia/fels_107/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/fels_107/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/fels_107/tags","blobs_url":"https://api.github.com/repos/framgia/fels_107/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/fels_107/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/fels_107/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/fels_107/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/fels_107/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/fels_107/languages","stargazers_url":"https://api.github.com/repos/framgia/fels_107/stargazers","contributors_url":"https://api.github.com/repos/framgia/fels_107/contributors","subscribers_url":"https://api.github.com/repos/framgia/fels_107/subscribers","subscription_url":"https://api.github.com/repos/framgia/fels_107/subscription","commits_url":"https://api.github.com/repos/framgia/fels_107/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/fels_107/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/fels_107/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/fels_107/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/fels_107/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/fels_107/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/fels_107/merges","archive_url":"https://api.github.com/repos/framgia/fels_107/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/fels_107/downloads","issues_url":"https://api.github.com/repos/framgia/fels_107/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/fels_107/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/fels_107/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/fels_107/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/fels_107/labels{/name}","releases_url":"https://api.github.com/repos/framgia/fels_107/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/fels_107/deployments","created_at":"2016-01-12T06:18:07Z","updated_at":"2016-01-12T06:18:07Z","pushed_at":"2016-02-02T04:24:35Z","git_url":"git://github.com/framgia/fels_107.git","ssh_url":"git@github.com:framgia/fels_107.git","clone_url":"https://github.com/framgia/fels_107.git","svn_url":"https://github.com/framgia/fels_107","homepage":null,"size":6618,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":2,"forks":4,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/fels_107/pulls/17"},"html":{"href":"https://github.com/framgia/fels_107/pull/17"},"issue":{"href":"https://api.github.com/repos/framgia/fels_107/issues/17"},"comments":{"href":"https://api.github.com/repos/framgia/fels_107/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/fels_107/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/fels_107/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/fels_107/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/fels_107/statuses/8db4ffce55c707dcdd22c963ab38ca0b95d114a0"}}}}