{"action":"created","comment":{"url":"https://api.github.com/repos/1024pix/pix/pulls/comments/211656855","pull_request_review_id":148125066,"id":211656855,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMTY1Njg1NQ==","diff_hunk":"@@ -0,0 +1,21 @@\n+const databaseBuffer = require('../database-buffer');\n+const faker = require('faker');\n+\n+module.exports = function buildUser({\n+  id = faker.random.number(),\n+  userId = faker.random.number(),","path":"api/tests/database-builder/factory/build-organization-access.js","position":6,"original_position":6,"commit_id":"81ed9dcd800e06fd7d1d8a901e97f890cdbfedca","original_commit_id":"9d34ebc978ad21b3ac04deebf9fe020fe68577b5","user":{"login":"mlaurent","id":34855127,"node_id":"MDQ6VXNlcjM0ODU1MTI3","avatar_url":"https://avatars2.githubusercontent.com/u/34855127?v=4","gravatar_id":"","url":"https://api.github.com/users/mlaurent","html_url":"https://github.com/mlaurent","followers_url":"https://api.github.com/users/mlaurent/followers","following_url":"https://api.github.com/users/mlaurent/following{/other_user}","gists_url":"https://api.github.com/users/mlaurent/gists{/gist_id}","starred_url":"https://api.github.com/users/mlaurent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlaurent/subscriptions","organizations_url":"https://api.github.com/users/mlaurent/orgs","repos_url":"https://api.github.com/users/mlaurent/repos","events_url":"https://api.github.com/users/mlaurent/events{/privacy}","received_events_url":"https://api.github.com/users/mlaurent/received_events","type":"User","site_admin":false},"body":"Done","created_at":"2018-08-21T15:43:37Z","updated_at":"2018-08-21T15:43:37Z","html_url":"https://github.com/1024pix/pix/pull/162#discussion_r211656855","pull_request_url":"https://api.github.com/repos/1024pix/pix/pulls/162","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/1024pix/pix/pulls/comments/211656855"},"html":{"href":"https://github.com/1024pix/pix/pull/162#discussion_r211656855"},"pull_request":{"href":"https://api.github.com/repos/1024pix/pix/pulls/162"}},"in_reply_to_id":209876381},"pull_request":{"url":"https://api.github.com/repos/1024pix/pix/pulls/162","id":207023533,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA3MDIzNTMz","html_url":"https://github.com/1024pix/pix/pull/162","diff_url":"https://github.com/1024pix/pix/pull/162.diff","patch_url":"https://github.com/1024pix/pix/pull/162.patch","issue_url":"https://api.github.com/repos/1024pix/pix/issues/162","number":162,"state":"open","locked":false,"title":"[#162] [FEATURE] Choix d'un profile cible lors de la création d'une campagne (PO-123).","user":{"login":"Akhilian","id":2499408,"node_id":"MDQ6VXNlcjI0OTk0MDg=","avatar_url":"https://avatars2.githubusercontent.com/u/2499408?v=4","gravatar_id":"","url":"https://api.github.com/users/Akhilian","html_url":"https://github.com/Akhilian","followers_url":"https://api.github.com/users/Akhilian/followers","following_url":"https://api.github.com/users/Akhilian/following{/other_user}","gists_url":"https://api.github.com/users/Akhilian/gists{/gist_id}","starred_url":"https://api.github.com/users/Akhilian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Akhilian/subscriptions","organizations_url":"https://api.github.com/users/Akhilian/orgs","repos_url":"https://api.github.com/users/Akhilian/repos","events_url":"https://api.github.com/users/Akhilian/events{/privacy}","received_events_url":"https://api.github.com/users/Akhilian/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-08-08T14:16:46Z","updated_at":"2018-08-21T15:43:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"886f8c73bc235f361380caaea27cf19d7ba8f7d2","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/1024pix/pix/pulls/162/commits","review_comments_url":"https://api.github.com/repos/1024pix/pix/pulls/162/comments","review_comment_url":"https://api.github.com/repos/1024pix/pix/pulls/comments{/number}","comments_url":"https://api.github.com/repos/1024pix/pix/issues/162/comments","statuses_url":"https://api.github.com/repos/1024pix/pix/statuses/81ed9dcd800e06fd7d1d8a901e97f890cdbfedca","head":{"label":"1024pix:po-123-select-target-profile-for-campaign","ref":"po-123-select-target-profile-for-campaign","sha":"81ed9dcd800e06fd7d1d8a901e97f890cdbfedca","user":{"login":"1024pix","id":24589578,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0NTg5NTc4","avatar_url":"https://avatars0.githubusercontent.com/u/24589578?v=4","gravatar_id":"","url":"https://api.github.com/users/1024pix","html_url":"https://github.com/1024pix","followers_url":"https://api.github.com/users/1024pix/followers","following_url":"https://api.github.com/users/1024pix/following{/other_user}","gists_url":"https://api.github.com/users/1024pix/gists{/gist_id}","starred_url":"https://api.github.com/users/1024pix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1024pix/subscriptions","organizations_url":"https://api.github.com/users/1024pix/orgs","repos_url":"https://api.github.com/users/1024pix/repos","events_url":"https://api.github.com/users/1024pix/events{/privacy}","received_events_url":"https://api.github.com/users/1024pix/received_events","type":"Organization","site_admin":false},"repo":{"id":126852331,"node_id":"MDEwOlJlcG9zaXRvcnkxMjY4NTIzMzE=","name":"pix","full_name":"1024pix/pix","owner":{"login":"1024pix","id":24589578,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0NTg5NTc4","avatar_url":"https://avatars0.githubusercontent.com/u/24589578?v=4","gravatar_id":"","url":"https://api.github.com/users/1024pix","html_url":"https://github.com/1024pix","followers_url":"https://api.github.com/users/1024pix/followers","following_url":"https://api.github.com/users/1024pix/following{/other_user}","gists_url":"https://api.github.com/users/1024pix/gists{/gist_id}","starred_url":"https://api.github.com/users/1024pix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1024pix/subscriptions","organizations_url":"https://api.github.com/users/1024pix/orgs","repos_url":"https://api.github.com/users/1024pix/repos","events_url":"https://api.github.com/users/1024pix/events{/privacy}","received_events_url":"https://api.github.com/users/1024pix/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/1024pix/pix","description":"Plateforme d'évaluation et de certification des compétences numériques à l'usage de tous les citoyens francophones.","fork":false,"url":"https://api.github.com/repos/1024pix/pix","forks_url":"https://api.github.com/repos/1024pix/pix/forks","keys_url":"https://api.github.com/repos/1024pix/pix/keys{/key_id}","collaborators_url":"https://api.github.com/repos/1024pix/pix/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/1024pix/pix/teams","hooks_url":"https://api.github.com/repos/1024pix/pix/hooks","issue_events_url":"https://api.github.com/repos/1024pix/pix/issues/events{/number}","events_url":"https://api.github.com/repos/1024pix/pix/events","assignees_url":"https://api.github.com/repos/1024pix/pix/assignees{/user}","branches_url":"https://api.github.com/repos/1024pix/pix/branches{/branch}","tags_url":"https://api.github.com/repos/1024pix/pix/tags","blobs_url":"https://api.github.com/repos/1024pix/pix/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/1024pix/pix/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/1024pix/pix/git/refs{/sha}","trees_url":"https://api.github.com/repos/1024pix/pix/git/trees{/sha}","statuses_url":"https://api.github.com/repos/1024pix/pix/statuses/{sha}","languages_url":"https://api.github.com/repos/1024pix/pix/languages","stargazers_url":"https://api.github.com/repos/1024pix/pix/stargazers","contributors_url":"https://api.github.com/repos/1024pix/pix/contributors","subscribers_url":"https://api.github.com/repos/1024pix/pix/subscribers","subscription_url":"https://api.github.com/repos/1024pix/pix/subscription","commits_url":"https://api.github.com/repos/1024pix/pix/commits{/sha}","git_commits_url":"https://api.github.com/repos/1024pix/pix/git/commits{/sha}","comments_url":"https://api.github.com/repos/1024pix/pix/comments{/number}","issue_comment_url":"https://api.github.com/repos/1024pix/pix/issues/comments{/number}","contents_url":"https://api.github.com/repos/1024pix/pix/contents/{+path}","compare_url":"https://api.github.com/repos/1024pix/pix/compare/{base}...{head}","merges_url":"https://api.github.com/repos/1024pix/pix/merges","archive_url":"https://api.github.com/repos/1024pix/pix/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/1024pix/pix/downloads","issues_url":"https://api.github.com/repos/1024pix/pix/issues{/number}","pulls_url":"https://api.github.com/repos/1024pix/pix/pulls{/number}","milestones_url":"https://api.github.com/repos/1024pix/pix/milestones{/number}","notifications_url":"https://api.github.com/repos/1024pix/pix/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/1024pix/pix/labels{/name}","releases_url":"https://api.github.com/repos/1024pix/pix/releases{/id}","deployments_url":"https://api.github.com/repos/1024pix/pix/deployments","created_at":"2018-03-26T15:47:12Z","updated_at":"2018-08-21T10:05:53Z","pushed_at":"2018-08-21T15:38:14Z","git_url":"git://github.com/1024pix/pix.git","ssh_url":"git@github.com:1024pix/pix.git","clone_url":"https://github.com/1024pix/pix.git","svn_url":"https://github.com/1024pix/pix","homepage":"https://pix.fr","size":166942,"stargazers_count":16,"watchers_count":16,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":2,"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":4,"open_issues":2,"watchers":16,"default_branch":"dev"}},"base":{"label":"1024pix:dev","ref":"dev","sha":"79d8431f6354990d3a037d7c2ea161a847d74270","user":{"login":"1024pix","id":24589578,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0NTg5NTc4","avatar_url":"https://avatars0.githubusercontent.com/u/24589578?v=4","gravatar_id":"","url":"https://api.github.com/users/1024pix","html_url":"https://github.com/1024pix","followers_url":"https://api.github.com/users/1024pix/followers","following_url":"https://api.github.com/users/1024pix/following{/other_user}","gists_url":"https://api.github.com/users/1024pix/gists{/gist_id}","starred_url":"https://api.github.com/users/1024pix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1024pix/subscriptions","organizations_url":"https://api.github.com/users/1024pix/orgs","repos_url":"https://api.github.com/users/1024pix/repos","events_url":"https://api.github.com/users/1024pix/events{/privacy}","received_events_url":"https://api.github.com/users/1024pix/received_events","type":"Organization","site_admin":false},"repo":{"id":126852331,"node_id":"MDEwOlJlcG9zaXRvcnkxMjY4NTIzMzE=","name":"pix","full_name":"1024pix/pix","owner":{"login":"1024pix","id":24589578,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0NTg5NTc4","avatar_url":"https://avatars0.githubusercontent.com/u/24589578?v=4","gravatar_id":"","url":"https://api.github.com/users/1024pix","html_url":"https://github.com/1024pix","followers_url":"https://api.github.com/users/1024pix/followers","following_url":"https://api.github.com/users/1024pix/following{/other_user}","gists_url":"https://api.github.com/users/1024pix/gists{/gist_id}","starred_url":"https://api.github.com/users/1024pix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1024pix/subscriptions","organizations_url":"https://api.github.com/users/1024pix/orgs","repos_url":"https://api.github.com/users/1024pix/repos","events_url":"https://api.github.com/users/1024pix/events{/privacy}","received_events_url":"https://api.github.com/users/1024pix/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/1024pix/pix","description":"Plateforme d'évaluation et de certification des compétences numériques à l'usage de tous les citoyens francophones.","fork":false,"url":"https://api.github.com/repos/1024pix/pix","forks_url":"https://api.github.com/repos/1024pix/pix/forks","keys_url":"https://api.github.com/repos/1024pix/pix/keys{/key_id}","collaborators_url":"https://api.github.com/repos/1024pix/pix/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/1024pix/pix/teams","hooks_url":"https://api.github.com/repos/1024pix/pix/hooks","issue_events_url":"https://api.github.com/repos/1024pix/pix/issues/events{/number}","events_url":"https://api.github.com/repos/1024pix/pix/events","assignees_url":"https://api.github.com/repos/1024pix/pix/assignees{/user}","branches_url":"https://api.github.com/repos/1024pix/pix/branches{/branch}","tags_url":"https://api.github.com/repos/1024pix/pix/tags","blobs_url":"https://api.github.com/repos/1024pix/pix/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/1024pix/pix/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/1024pix/pix/git/refs{/sha}","trees_url":"https://api.github.com/repos/1024pix/pix/git/trees{/sha}","statuses_url":"https://api.github.com/repos/1024pix/pix/statuses/{sha}","languages_url":"https://api.github.com/repos/1024pix/pix/languages","stargazers_url":"https://api.github.com/repos/1024pix/pix/stargazers","contributors_url":"https://api.github.com/repos/1024pix/pix/contributors","subscribers_url":"https://api.github.com/repos/1024pix/pix/subscribers","subscription_url":"https://api.github.com/repos/1024pix/pix/subscription","commits_url":"https://api.github.com/repos/1024pix/pix/commits{/sha}","git_commits_url":"https://api.github.com/repos/1024pix/pix/git/commits{/sha}","comments_url":"https://api.github.com/repos/1024pix/pix/comments{/number}","issue_comment_url":"https://api.github.com/repos/1024pix/pix/issues/comments{/number}","contents_url":"https://api.github.com/repos/1024pix/pix/contents/{+path}","compare_url":"https://api.github.com/repos/1024pix/pix/compare/{base}...{head}","merges_url":"https://api.github.com/repos/1024pix/pix/merges","archive_url":"https://api.github.com/repos/1024pix/pix/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/1024pix/pix/downloads","issues_url":"https://api.github.com/repos/1024pix/pix/issues{/number}","pulls_url":"https://api.github.com/repos/1024pix/pix/pulls{/number}","milestones_url":"https://api.github.com/repos/1024pix/pix/milestones{/number}","notifications_url":"https://api.github.com/repos/1024pix/pix/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/1024pix/pix/labels{/name}","releases_url":"https://api.github.com/repos/1024pix/pix/releases{/id}","deployments_url":"https://api.github.com/repos/1024pix/pix/deployments","created_at":"2018-03-26T15:47:12Z","updated_at":"2018-08-21T10:05:53Z","pushed_at":"2018-08-21T15:38:14Z","git_url":"git://github.com/1024pix/pix.git","ssh_url":"git@github.com:1024pix/pix.git","clone_url":"https://github.com/1024pix/pix.git","svn_url":"https://github.com/1024pix/pix","homepage":"https://pix.fr","size":166942,"stargazers_count":16,"watchers_count":16,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":2,"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":4,"open_issues":2,"watchers":16,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/1024pix/pix/pulls/162"},"html":{"href":"https://github.com/1024pix/pix/pull/162"},"issue":{"href":"https://api.github.com/repos/1024pix/pix/issues/162"},"comments":{"href":"https://api.github.com/repos/1024pix/pix/issues/162/comments"},"review_comments":{"href":"https://api.github.com/repos/1024pix/pix/pulls/162/comments"},"review_comment":{"href":"https://api.github.com/repos/1024pix/pix/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/1024pix/pix/pulls/162/commits"},"statuses":{"href":"https://api.github.com/repos/1024pix/pix/statuses/81ed9dcd800e06fd7d1d8a901e97f890cdbfedca"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"mlaurent"}}