{"action":"created","comment":{"url":"https://api.github.com/repos/Codaisseur/code-practice/pulls/comments/92223582","pull_request_review_id":12734986,"id":92223582,"diff_hunk":"@@ -44,6 +44,7 @@ class API {\n   }\n }\n \n+","path":"src/middleware/api.js","position":4,"original_position":4,"commit_id":"6e3188352f9c6ec5dc8f04ff78534cc78d78749a","original_commit_id":"6e3188352f9c6ec5dc8f04ff78534cc78d78749a","user":{"login":"Jeffrey-Meesters","id":22395986,"avatar_url":"https://avatars.githubusercontent.com/u/22395986?v=3","gravatar_id":"","url":"https://api.github.com/users/Jeffrey-Meesters","html_url":"https://github.com/Jeffrey-Meesters","followers_url":"https://api.github.com/users/Jeffrey-Meesters/followers","following_url":"https://api.github.com/users/Jeffrey-Meesters/following{/other_user}","gists_url":"https://api.github.com/users/Jeffrey-Meesters/gists{/gist_id}","starred_url":"https://api.github.com/users/Jeffrey-Meesters/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jeffrey-Meesters/subscriptions","organizations_url":"https://api.github.com/users/Jeffrey-Meesters/orgs","repos_url":"https://api.github.com/users/Jeffrey-Meesters/repos","events_url":"https://api.github.com/users/Jeffrey-Meesters/events{/privacy}","received_events_url":"https://api.github.com/users/Jeffrey-Meesters/received_events","type":"User","site_admin":false},"body":"Just creating some space :p ","created_at":"2016-12-13T17:38:30Z","updated_at":"2016-12-13T17:38:30Z","html_url":"https://github.com/Codaisseur/code-practice/pull/48#discussion_r92223582","pull_request_url":"https://api.github.com/repos/Codaisseur/code-practice/pulls/48","_links":{"self":{"href":"https://api.github.com/repos/Codaisseur/code-practice/pulls/comments/92223582"},"html":{"href":"https://github.com/Codaisseur/code-practice/pull/48#discussion_r92223582"},"pull_request":{"href":"https://api.github.com/repos/Codaisseur/code-practice/pulls/48"}}},"pull_request":{"url":"https://api.github.com/repos/Codaisseur/code-practice/pulls/48","id":97746839,"html_url":"https://github.com/Codaisseur/code-practice/pull/48","diff_url":"https://github.com/Codaisseur/code-practice/pull/48.diff","patch_url":"https://github.com/Codaisseur/code-practice/pull/48.patch","issue_url":"https://api.github.com/repos/Codaisseur/code-practice/issues/48","number":48,"state":"open","locked":false,"title":"Connect assignments","user":{"login":"Jeffrey-Meesters","id":22395986,"avatar_url":"https://avatars.githubusercontent.com/u/22395986?v=3","gravatar_id":"","url":"https://api.github.com/users/Jeffrey-Meesters","html_url":"https://github.com/Jeffrey-Meesters","followers_url":"https://api.github.com/users/Jeffrey-Meesters/followers","following_url":"https://api.github.com/users/Jeffrey-Meesters/following{/other_user}","gists_url":"https://api.github.com/users/Jeffrey-Meesters/gists{/gist_id}","starred_url":"https://api.github.com/users/Jeffrey-Meesters/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jeffrey-Meesters/subscriptions","organizations_url":"https://api.github.com/users/Jeffrey-Meesters/orgs","repos_url":"https://api.github.com/users/Jeffrey-Meesters/repos","events_url":"https://api.github.com/users/Jeffrey-Meesters/events{/privacy}","received_events_url":"https://api.github.com/users/Jeffrey-Meesters/received_events","type":"User","site_admin":false},"body":"Connected ```AssignmentsContainer``` to the API by updating the assignment action and reducer.\r\nThe action is pointing to:\r\n\r\n```javascript\r\napi.service('assignments', true).find()\r\n```\r\nThe service is not set up  in the API jet.\r\nHardcoded is the authentication of the user by ``` true ```, which ultimately should be checked for.\r\n\r\nassignments.test.js Is partly rewritten to work with the updated reducer.","created_at":"2016-12-13T13:03:19Z","updated_at":"2016-12-13T17:38:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5bd8c86f1de4b09441f23203d7721fd994d3d014","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Codaisseur/code-practice/pulls/48/commits","review_comments_url":"https://api.github.com/repos/Codaisseur/code-practice/pulls/48/comments","review_comment_url":"https://api.github.com/repos/Codaisseur/code-practice/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Codaisseur/code-practice/issues/48/comments","statuses_url":"https://api.github.com/repos/Codaisseur/code-practice/statuses/6e3188352f9c6ec5dc8f04ff78534cc78d78749a","head":{"label":"Codaisseur:connect-assignments","ref":"connect-assignments","sha":"6e3188352f9c6ec5dc8f04ff78534cc78d78749a","user":{"login":"Codaisseur","id":12283408,"avatar_url":"https://avatars.githubusercontent.com/u/12283408?v=3","gravatar_id":"","url":"https://api.github.com/users/Codaisseur","html_url":"https://github.com/Codaisseur","followers_url":"https://api.github.com/users/Codaisseur/followers","following_url":"https://api.github.com/users/Codaisseur/following{/other_user}","gists_url":"https://api.github.com/users/Codaisseur/gists{/gist_id}","starred_url":"https://api.github.com/users/Codaisseur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Codaisseur/subscriptions","organizations_url":"https://api.github.com/users/Codaisseur/orgs","repos_url":"https://api.github.com/users/Codaisseur/repos","events_url":"https://api.github.com/users/Codaisseur/events{/privacy}","received_events_url":"https://api.github.com/users/Codaisseur/received_events","type":"Organization","site_admin":false},"repo":{"id":71227998,"name":"code-practice","full_name":"Codaisseur/code-practice","owner":{"login":"Codaisseur","id":12283408,"avatar_url":"https://avatars.githubusercontent.com/u/12283408?v=3","gravatar_id":"","url":"https://api.github.com/users/Codaisseur","html_url":"https://github.com/Codaisseur","followers_url":"https://api.github.com/users/Codaisseur/followers","following_url":"https://api.github.com/users/Codaisseur/following{/other_user}","gists_url":"https://api.github.com/users/Codaisseur/gists{/gist_id}","starred_url":"https://api.github.com/users/Codaisseur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Codaisseur/subscriptions","organizations_url":"https://api.github.com/users/Codaisseur/orgs","repos_url":"https://api.github.com/users/Codaisseur/repos","events_url":"https://api.github.com/users/Codaisseur/events{/privacy}","received_events_url":"https://api.github.com/users/Codaisseur/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Codaisseur/code-practice","description":"React front end to practice code","fork":false,"url":"https://api.github.com/repos/Codaisseur/code-practice","forks_url":"https://api.github.com/repos/Codaisseur/code-practice/forks","keys_url":"https://api.github.com/repos/Codaisseur/code-practice/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Codaisseur/code-practice/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Codaisseur/code-practice/teams","hooks_url":"https://api.github.com/repos/Codaisseur/code-practice/hooks","issue_events_url":"https://api.github.com/repos/Codaisseur/code-practice/issues/events{/number}","events_url":"https://api.github.com/repos/Codaisseur/code-practice/events","assignees_url":"https://api.github.com/repos/Codaisseur/code-practice/assignees{/user}","branches_url":"https://api.github.com/repos/Codaisseur/code-practice/branches{/branch}","tags_url":"https://api.github.com/repos/Codaisseur/code-practice/tags","blobs_url":"https://api.github.com/repos/Codaisseur/code-practice/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Codaisseur/code-practice/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Codaisseur/code-practice/git/refs{/sha}","trees_url":"https://api.github.com/repos/Codaisseur/code-practice/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Codaisseur/code-practice/statuses/{sha}","languages_url":"https://api.github.com/repos/Codaisseur/code-practice/languages","stargazers_url":"https://api.github.com/repos/Codaisseur/code-practice/stargazers","contributors_url":"https://api.github.com/repos/Codaisseur/code-practice/contributors","subscribers_url":"https://api.github.com/repos/Codaisseur/code-practice/subscribers","subscription_url":"https://api.github.com/repos/Codaisseur/code-practice/subscription","commits_url":"https://api.github.com/repos/Codaisseur/code-practice/commits{/sha}","git_commits_url":"https://api.github.com/repos/Codaisseur/code-practice/git/commits{/sha}","comments_url":"https://api.github.com/repos/Codaisseur/code-practice/comments{/number}","issue_comment_url":"https://api.github.com/repos/Codaisseur/code-practice/issues/comments{/number}","contents_url":"https://api.github.com/repos/Codaisseur/code-practice/contents/{+path}","compare_url":"https://api.github.com/repos/Codaisseur/code-practice/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Codaisseur/code-practice/merges","archive_url":"https://api.github.com/repos/Codaisseur/code-practice/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Codaisseur/code-practice/downloads","issues_url":"https://api.github.com/repos/Codaisseur/code-practice/issues{/number}","pulls_url":"https://api.github.com/repos/Codaisseur/code-practice/pulls{/number}","milestones_url":"https://api.github.com/repos/Codaisseur/code-practice/milestones{/number}","notifications_url":"https://api.github.com/repos/Codaisseur/code-practice/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Codaisseur/code-practice/labels{/name}","releases_url":"https://api.github.com/repos/Codaisseur/code-practice/releases{/id}","deployments_url":"https://api.github.com/repos/Codaisseur/code-practice/deployments","created_at":"2016-10-18T08:49:47Z","updated_at":"2016-10-19T08:38:32Z","pushed_at":"2016-12-13T17:23:10Z","git_url":"git://github.com/Codaisseur/code-practice.git","ssh_url":"git@github.com:Codaisseur/code-practice.git","clone_url":"https://github.com/Codaisseur/code-practice.git","svn_url":"https://github.com/Codaisseur/code-practice","homepage":null,"size":185,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":13,"forks":1,"open_issues":13,"watchers":0,"default_branch":"master"}},"base":{"label":"Codaisseur:master","ref":"master","sha":"ee98b1306652b2a54ebe72d555f6b90d53e27947","user":{"login":"Codaisseur","id":12283408,"avatar_url":"https://avatars.githubusercontent.com/u/12283408?v=3","gravatar_id":"","url":"https://api.github.com/users/Codaisseur","html_url":"https://github.com/Codaisseur","followers_url":"https://api.github.com/users/Codaisseur/followers","following_url":"https://api.github.com/users/Codaisseur/following{/other_user}","gists_url":"https://api.github.com/users/Codaisseur/gists{/gist_id}","starred_url":"https://api.github.com/users/Codaisseur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Codaisseur/subscriptions","organizations_url":"https://api.github.com/users/Codaisseur/orgs","repos_url":"https://api.github.com/users/Codaisseur/repos","events_url":"https://api.github.com/users/Codaisseur/events{/privacy}","received_events_url":"https://api.github.com/users/Codaisseur/received_events","type":"Organization","site_admin":false},"repo":{"id":71227998,"name":"code-practice","full_name":"Codaisseur/code-practice","owner":{"login":"Codaisseur","id":12283408,"avatar_url":"https://avatars.githubusercontent.com/u/12283408?v=3","gravatar_id":"","url":"https://api.github.com/users/Codaisseur","html_url":"https://github.com/Codaisseur","followers_url":"https://api.github.com/users/Codaisseur/followers","following_url":"https://api.github.com/users/Codaisseur/following{/other_user}","gists_url":"https://api.github.com/users/Codaisseur/gists{/gist_id}","starred_url":"https://api.github.com/users/Codaisseur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Codaisseur/subscriptions","organizations_url":"https://api.github.com/users/Codaisseur/orgs","repos_url":"https://api.github.com/users/Codaisseur/repos","events_url":"https://api.github.com/users/Codaisseur/events{/privacy}","received_events_url":"https://api.github.com/users/Codaisseur/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Codaisseur/code-practice","description":"React front end to practice code","fork":false,"url":"https://api.github.com/repos/Codaisseur/code-practice","forks_url":"https://api.github.com/repos/Codaisseur/code-practice/forks","keys_url":"https://api.github.com/repos/Codaisseur/code-practice/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Codaisseur/code-practice/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Codaisseur/code-practice/teams","hooks_url":"https://api.github.com/repos/Codaisseur/code-practice/hooks","issue_events_url":"https://api.github.com/repos/Codaisseur/code-practice/issues/events{/number}","events_url":"https://api.github.com/repos/Codaisseur/code-practice/events","assignees_url":"https://api.github.com/repos/Codaisseur/code-practice/assignees{/user}","branches_url":"https://api.github.com/repos/Codaisseur/code-practice/branches{/branch}","tags_url":"https://api.github.com/repos/Codaisseur/code-practice/tags","blobs_url":"https://api.github.com/repos/Codaisseur/code-practice/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Codaisseur/code-practice/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Codaisseur/code-practice/git/refs{/sha}","trees_url":"https://api.github.com/repos/Codaisseur/code-practice/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Codaisseur/code-practice/statuses/{sha}","languages_url":"https://api.github.com/repos/Codaisseur/code-practice/languages","stargazers_url":"https://api.github.com/repos/Codaisseur/code-practice/stargazers","contributors_url":"https://api.github.com/repos/Codaisseur/code-practice/contributors","subscribers_url":"https://api.github.com/repos/Codaisseur/code-practice/subscribers","subscription_url":"https://api.github.com/repos/Codaisseur/code-practice/subscription","commits_url":"https://api.github.com/repos/Codaisseur/code-practice/commits{/sha}","git_commits_url":"https://api.github.com/repos/Codaisseur/code-practice/git/commits{/sha}","comments_url":"https://api.github.com/repos/Codaisseur/code-practice/comments{/number}","issue_comment_url":"https://api.github.com/repos/Codaisseur/code-practice/issues/comments{/number}","contents_url":"https://api.github.com/repos/Codaisseur/code-practice/contents/{+path}","compare_url":"https://api.github.com/repos/Codaisseur/code-practice/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Codaisseur/code-practice/merges","archive_url":"https://api.github.com/repos/Codaisseur/code-practice/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Codaisseur/code-practice/downloads","issues_url":"https://api.github.com/repos/Codaisseur/code-practice/issues{/number}","pulls_url":"https://api.github.com/repos/Codaisseur/code-practice/pulls{/number}","milestones_url":"https://api.github.com/repos/Codaisseur/code-practice/milestones{/number}","notifications_url":"https://api.github.com/repos/Codaisseur/code-practice/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Codaisseur/code-practice/labels{/name}","releases_url":"https://api.github.com/repos/Codaisseur/code-practice/releases{/id}","deployments_url":"https://api.github.com/repos/Codaisseur/code-practice/deployments","created_at":"2016-10-18T08:49:47Z","updated_at":"2016-10-19T08:38:32Z","pushed_at":"2016-12-13T17:23:10Z","git_url":"git://github.com/Codaisseur/code-practice.git","ssh_url":"git@github.com:Codaisseur/code-practice.git","clone_url":"https://github.com/Codaisseur/code-practice.git","svn_url":"https://github.com/Codaisseur/code-practice","homepage":null,"size":185,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":13,"forks":1,"open_issues":13,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Codaisseur/code-practice/pulls/48"},"html":{"href":"https://github.com/Codaisseur/code-practice/pull/48"},"issue":{"href":"https://api.github.com/repos/Codaisseur/code-practice/issues/48"},"comments":{"href":"https://api.github.com/repos/Codaisseur/code-practice/issues/48/comments"},"review_comments":{"href":"https://api.github.com/repos/Codaisseur/code-practice/pulls/48/comments"},"review_comment":{"href":"https://api.github.com/repos/Codaisseur/code-practice/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Codaisseur/code-practice/pulls/48/commits"},"statuses":{"href":"https://api.github.com/repos/Codaisseur/code-practice/statuses/6e3188352f9c6ec5dc8f04ff78534cc78d78749a"}}}}
{"actor":{"display_login":"Jeffrey-Meesters"}}