{"action":"created","comment":{"url":"https://api.github.com/repos/bethinkpl/wnl-platform/pulls/comments/183030018","pull_request_review_id":113946473,"id":183030018,"diff_hunk":"@@ -0,0 +1,32 @@\n+<?php\n+\n+namespace App\\Http\\Requests\\User;\n+\n+use Illuminate\\Foundation\\Http\\FormRequest;\n+use App\\Models\\UserLesson;\n+\n+class UpdateLessonsPreset extends FormRequest\n+{\n+\tpublic function authorize()\n+\t{\n+\t\treturn true;\n+\t}\n+\n+\t/**\n+\t * Get the validation rules that apply to the request.\n+\t *\n+\t * @return array\n+\t */\n+\tpublic function rules()\n+\t{\n+\t\treturn [\n+\t\t\t'user_id' => 'integer|required',","path":"app/Http/Requests/User/UpdateLessonsPreset.php","position":23,"original_position":23,"commit_id":"6f3d817f71a7821090d152d2417da2de56e77f69","original_commit_id":"6f3d817f71a7821090d152d2417da2de56e77f69","user":{"login":"bognix","id":3473327,"avatar_url":"https://avatars0.githubusercontent.com/u/3473327?v=4","gravatar_id":"","url":"https://api.github.com/users/bognix","html_url":"https://github.com/bognix","followers_url":"https://api.github.com/users/bognix/followers","following_url":"https://api.github.com/users/bognix/following{/other_user}","gists_url":"https://api.github.com/users/bognix/gists{/gist_id}","starred_url":"https://api.github.com/users/bognix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bognix/subscriptions","organizations_url":"https://api.github.com/users/bognix/orgs","repos_url":"https://api.github.com/users/bognix/repos","events_url":"https://api.github.com/users/bognix/events{/privacy}","received_events_url":"https://api.github.com/users/bognix/received_events","type":"User","site_admin":false},"body":"jak sam zauważyłeś podczas pisania testów być może nie trzeba tutaj przekazywać userId skoro jest już ono przekazane w routcie.","created_at":"2018-04-20T12:12:11Z","updated_at":"2018-04-20T12:14:05Z","html_url":"https://github.com/bethinkpl/wnl-platform/pull/864#discussion_r183030018","pull_request_url":"https://api.github.com/repos/bethinkpl/wnl-platform/pulls/864","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/bethinkpl/wnl-platform/pulls/comments/183030018"},"html":{"href":"https://github.com/bethinkpl/wnl-platform/pull/864#discussion_r183030018"},"pull_request":{"href":"https://api.github.com/repos/bethinkpl/wnl-platform/pulls/864"}}},"pull_request":{"url":"https://api.github.com/repos/bethinkpl/wnl-platform/pulls/864","id":180290801,"html_url":"https://github.com/bethinkpl/wnl-platform/pull/864","diff_url":"https://github.com/bethinkpl/wnl-platform/pull/864.diff","patch_url":"https://github.com/bethinkpl/wnl-platform/pull/864.patch","issue_url":"https://api.github.com/repos/bethinkpl/wnl-platform/issues/864","number":864,"state":"open","locked":false,"title":"Lesson availabilities presets","user":{"login":"preziu","id":27730210,"avatar_url":"https://avatars0.githubusercontent.com/u/27730210?v=4","gravatar_id":"","url":"https://api.github.com/users/preziu","html_url":"https://github.com/preziu","followers_url":"https://api.github.com/users/preziu/followers","following_url":"https://api.github.com/users/preziu/following{/other_user}","gists_url":"https://api.github.com/users/preziu/gists{/gist_id}","starred_url":"https://api.github.com/users/preziu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/preziu/subscriptions","organizations_url":"https://api.github.com/users/preziu/orgs","repos_url":"https://api.github.com/users/preziu/repos","events_url":"https://api.github.com/users/preziu/events{/privacy}","received_events_url":"https://api.github.com/users/preziu/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-04-09T12:05:31Z","updated_at":"2018-04-20T12:14:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"31ad399f643cae37c2e70abfce9ed9d689957550","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/bethinkpl/wnl-platform/pulls/864/commits","review_comments_url":"https://api.github.com/repos/bethinkpl/wnl-platform/pulls/864/comments","review_comment_url":"https://api.github.com/repos/bethinkpl/wnl-platform/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bethinkpl/wnl-platform/issues/864/comments","statuses_url":"https://api.github.com/repos/bethinkpl/wnl-platform/statuses/6f3d817f71a7821090d152d2417da2de56e77f69","head":{"label":"bethinkpl:lesson-availabilities-presets","ref":"lesson-availabilities-presets","sha":"6f3d817f71a7821090d152d2417da2de56e77f69","user":{"login":"bethinkpl","id":24373413,"avatar_url":"https://avatars2.githubusercontent.com/u/24373413?v=4","gravatar_id":"","url":"https://api.github.com/users/bethinkpl","html_url":"https://github.com/bethinkpl","followers_url":"https://api.github.com/users/bethinkpl/followers","following_url":"https://api.github.com/users/bethinkpl/following{/other_user}","gists_url":"https://api.github.com/users/bethinkpl/gists{/gist_id}","starred_url":"https://api.github.com/users/bethinkpl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bethinkpl/subscriptions","organizations_url":"https://api.github.com/users/bethinkpl/orgs","repos_url":"https://api.github.com/users/bethinkpl/repos","events_url":"https://api.github.com/users/bethinkpl/events{/privacy}","received_events_url":"https://api.github.com/users/bethinkpl/received_events","type":"Organization","site_admin":false},"repo":{"id":75552769,"name":"wnl-platform","full_name":"bethinkpl/wnl-platform","owner":{"login":"bethinkpl","id":24373413,"avatar_url":"https://avatars2.githubusercontent.com/u/24373413?v=4","gravatar_id":"","url":"https://api.github.com/users/bethinkpl","html_url":"https://github.com/bethinkpl","followers_url":"https://api.github.com/users/bethinkpl/followers","following_url":"https://api.github.com/users/bethinkpl/following{/other_user}","gists_url":"https://api.github.com/users/bethinkpl/gists{/gist_id}","starred_url":"https://api.github.com/users/bethinkpl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bethinkpl/subscriptions","organizations_url":"https://api.github.com/users/bethinkpl/orgs","repos_url":"https://api.github.com/users/bethinkpl/repos","events_url":"https://api.github.com/users/bethinkpl/events{/privacy}","received_events_url":"https://api.github.com/users/bethinkpl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bethinkpl/wnl-platform","description":"The main app for delivering medical e-learning courses. Based on Laravel.","fork":false,"url":"https://api.github.com/repos/bethinkpl/wnl-platform","forks_url":"https://api.github.com/repos/bethinkpl/wnl-platform/forks","keys_url":"https://api.github.com/repos/bethinkpl/wnl-platform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bethinkpl/wnl-platform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bethinkpl/wnl-platform/teams","hooks_url":"https://api.github.com/repos/bethinkpl/wnl-platform/hooks","issue_events_url":"https://api.github.com/repos/bethinkpl/wnl-platform/issues/events{/number}","events_url":"https://api.github.com/repos/bethinkpl/wnl-platform/events","assignees_url":"https://api.github.com/repos/bethinkpl/wnl-platform/assignees{/user}","branches_url":"https://api.github.com/repos/bethinkpl/wnl-platform/branches{/branch}","tags_url":"https://api.github.com/repos/bethinkpl/wnl-platform/tags","blobs_url":"https://api.github.com/repos/bethinkpl/wnl-platform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bethinkpl/wnl-platform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bethinkpl/wnl-platform/git/refs{/sha}","trees_url":"https://api.github.com/repos/bethinkpl/wnl-platform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bethinkpl/wnl-platform/statuses/{sha}","languages_url":"https://api.github.com/repos/bethinkpl/wnl-platform/languages","stargazers_url":"https://api.github.com/repos/bethinkpl/wnl-platform/stargazers","contributors_url":"https://api.github.com/repos/bethinkpl/wnl-platform/contributors","subscribers_url":"https://api.github.com/repos/bethinkpl/wnl-platform/subscribers","subscription_url":"https://api.github.com/repos/bethinkpl/wnl-platform/subscription","commits_url":"https://api.github.com/repos/bethinkpl/wnl-platform/commits{/sha}","git_commits_url":"https://api.github.com/repos/bethinkpl/wnl-platform/git/commits{/sha}","comments_url":"https://api.github.com/repos/bethinkpl/wnl-platform/comments{/number}","issue_comment_url":"https://api.github.com/repos/bethinkpl/wnl-platform/issues/comments{/number}","contents_url":"https://api.github.com/repos/bethinkpl/wnl-platform/contents/{+path}","compare_url":"https://api.github.com/repos/bethinkpl/wnl-platform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bethinkpl/wnl-platform/merges","archive_url":"https://api.github.com/repos/bethinkpl/wnl-platform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bethinkpl/wnl-platform/downloads","issues_url":"https://api.github.com/repos/bethinkpl/wnl-platform/issues{/number}","pulls_url":"https://api.github.com/repos/bethinkpl/wnl-platform/pulls{/number}","milestones_url":"https://api.github.com/repos/bethinkpl/wnl-platform/milestones{/number}","notifications_url":"https://api.github.com/repos/bethinkpl/wnl-platform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bethinkpl/wnl-platform/labels{/name}","releases_url":"https://api.github.com/repos/bethinkpl/wnl-platform/releases{/id}","deployments_url":"https://api.github.com/repos/bethinkpl/wnl-platform/deployments","created_at":"2016-12-04T17:29:57Z","updated_at":"2018-04-19T16:47:55Z","pushed_at":"2018-04-20T11:37:45Z","git_url":"git://github.com/bethinkpl/wnl-platform.git","ssh_url":"git@github.com:bethinkpl/wnl-platform.git","clone_url":"https://github.com/bethinkpl/wnl-platform.git","svn_url":"https://github.com/bethinkpl/wnl-platform","homepage":null,"size":6817,"stargazers_count":9,"watchers_count":9,"language":"PHP","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":3,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":2,"open_issues":3,"watchers":9,"default_branch":"master"}},"base":{"label":"bethinkpl:master","ref":"master","sha":"235de2c84cc10833d6d626d91a3f4c9eb19b17f3","user":{"login":"bethinkpl","id":24373413,"avatar_url":"https://avatars2.githubusercontent.com/u/24373413?v=4","gravatar_id":"","url":"https://api.github.com/users/bethinkpl","html_url":"https://github.com/bethinkpl","followers_url":"https://api.github.com/users/bethinkpl/followers","following_url":"https://api.github.com/users/bethinkpl/following{/other_user}","gists_url":"https://api.github.com/users/bethinkpl/gists{/gist_id}","starred_url":"https://api.github.com/users/bethinkpl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bethinkpl/subscriptions","organizations_url":"https://api.github.com/users/bethinkpl/orgs","repos_url":"https://api.github.com/users/bethinkpl/repos","events_url":"https://api.github.com/users/bethinkpl/events{/privacy}","received_events_url":"https://api.github.com/users/bethinkpl/received_events","type":"Organization","site_admin":false},"repo":{"id":75552769,"name":"wnl-platform","full_name":"bethinkpl/wnl-platform","owner":{"login":"bethinkpl","id":24373413,"avatar_url":"https://avatars2.githubusercontent.com/u/24373413?v=4","gravatar_id":"","url":"https://api.github.com/users/bethinkpl","html_url":"https://github.com/bethinkpl","followers_url":"https://api.github.com/users/bethinkpl/followers","following_url":"https://api.github.com/users/bethinkpl/following{/other_user}","gists_url":"https://api.github.com/users/bethinkpl/gists{/gist_id}","starred_url":"https://api.github.com/users/bethinkpl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bethinkpl/subscriptions","organizations_url":"https://api.github.com/users/bethinkpl/orgs","repos_url":"https://api.github.com/users/bethinkpl/repos","events_url":"https://api.github.com/users/bethinkpl/events{/privacy}","received_events_url":"https://api.github.com/users/bethinkpl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bethinkpl/wnl-platform","description":"The main app for delivering medical e-learning courses. Based on Laravel.","fork":false,"url":"https://api.github.com/repos/bethinkpl/wnl-platform","forks_url":"https://api.github.com/repos/bethinkpl/wnl-platform/forks","keys_url":"https://api.github.com/repos/bethinkpl/wnl-platform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bethinkpl/wnl-platform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bethinkpl/wnl-platform/teams","hooks_url":"https://api.github.com/repos/bethinkpl/wnl-platform/hooks","issue_events_url":"https://api.github.com/repos/bethinkpl/wnl-platform/issues/events{/number}","events_url":"https://api.github.com/repos/bethinkpl/wnl-platform/events","assignees_url":"https://api.github.com/repos/bethinkpl/wnl-platform/assignees{/user}","branches_url":"https://api.github.com/repos/bethinkpl/wnl-platform/branches{/branch}","tags_url":"https://api.github.com/repos/bethinkpl/wnl-platform/tags","blobs_url":"https://api.github.com/repos/bethinkpl/wnl-platform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bethinkpl/wnl-platform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bethinkpl/wnl-platform/git/refs{/sha}","trees_url":"https://api.github.com/repos/bethinkpl/wnl-platform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bethinkpl/wnl-platform/statuses/{sha}","languages_url":"https://api.github.com/repos/bethinkpl/wnl-platform/languages","stargazers_url":"https://api.github.com/repos/bethinkpl/wnl-platform/stargazers","contributors_url":"https://api.github.com/repos/bethinkpl/wnl-platform/contributors","subscribers_url":"https://api.github.com/repos/bethinkpl/wnl-platform/subscribers","subscription_url":"https://api.github.com/repos/bethinkpl/wnl-platform/subscription","commits_url":"https://api.github.com/repos/bethinkpl/wnl-platform/commits{/sha}","git_commits_url":"https://api.github.com/repos/bethinkpl/wnl-platform/git/commits{/sha}","comments_url":"https://api.github.com/repos/bethinkpl/wnl-platform/comments{/number}","issue_comment_url":"https://api.github.com/repos/bethinkpl/wnl-platform/issues/comments{/number}","contents_url":"https://api.github.com/repos/bethinkpl/wnl-platform/contents/{+path}","compare_url":"https://api.github.com/repos/bethinkpl/wnl-platform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bethinkpl/wnl-platform/merges","archive_url":"https://api.github.com/repos/bethinkpl/wnl-platform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bethinkpl/wnl-platform/downloads","issues_url":"https://api.github.com/repos/bethinkpl/wnl-platform/issues{/number}","pulls_url":"https://api.github.com/repos/bethinkpl/wnl-platform/pulls{/number}","milestones_url":"https://api.github.com/repos/bethinkpl/wnl-platform/milestones{/number}","notifications_url":"https://api.github.com/repos/bethinkpl/wnl-platform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bethinkpl/wnl-platform/labels{/name}","releases_url":"https://api.github.com/repos/bethinkpl/wnl-platform/releases{/id}","deployments_url":"https://api.github.com/repos/bethinkpl/wnl-platform/deployments","created_at":"2016-12-04T17:29:57Z","updated_at":"2018-04-19T16:47:55Z","pushed_at":"2018-04-20T11:37:45Z","git_url":"git://github.com/bethinkpl/wnl-platform.git","ssh_url":"git@github.com:bethinkpl/wnl-platform.git","clone_url":"https://github.com/bethinkpl/wnl-platform.git","svn_url":"https://github.com/bethinkpl/wnl-platform","homepage":null,"size":6817,"stargazers_count":9,"watchers_count":9,"language":"PHP","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":3,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":2,"open_issues":3,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bethinkpl/wnl-platform/pulls/864"},"html":{"href":"https://github.com/bethinkpl/wnl-platform/pull/864"},"issue":{"href":"https://api.github.com/repos/bethinkpl/wnl-platform/issues/864"},"comments":{"href":"https://api.github.com/repos/bethinkpl/wnl-platform/issues/864/comments"},"review_comments":{"href":"https://api.github.com/repos/bethinkpl/wnl-platform/pulls/864/comments"},"review_comment":{"href":"https://api.github.com/repos/bethinkpl/wnl-platform/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bethinkpl/wnl-platform/pulls/864/commits"},"statuses":{"href":"https://api.github.com/repos/bethinkpl/wnl-platform/statuses/6f3d817f71a7821090d152d2417da2de56e77f69"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"bognix"}}