{"action":"created","comment":{"url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/pulls/comments/187013024","pull_request_review_id":118705204,"id":187013024,"diff_hunk":"@@ -194,11 +194,11 @@ class Main extends Component {\n         }\n     }\n     setTermsAccepted() {\n-        this.termsAndConditionsAccepted = true;\n-        Cookies.set('termsAccepted', 1);\n+        this.userStore.acceptContract('terms');","path":"ota-plus-web/app/reactapp/src/layouts/Main.jsx","position":6,"original_position":6,"commit_id":"6ab5c840e86ed6a49fded3d8fe00a159f84052bf","original_commit_id":"6ab5c840e86ed6a49fded3d8fe00a159f84052bf","user":{"login":"taheris","id":298102,"avatar_url":"https://avatars0.githubusercontent.com/u/298102?v=4","gravatar_id":"","url":"https://api.github.com/users/taheris","html_url":"https://github.com/taheris","followers_url":"https://api.github.com/users/taheris/followers","following_url":"https://api.github.com/users/taheris/following{/other_user}","gists_url":"https://api.github.com/users/taheris/gists{/gist_id}","starred_url":"https://api.github.com/users/taheris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taheris/subscriptions","organizations_url":"https://api.github.com/users/taheris/orgs","repos_url":"https://api.github.com/users/taheris/repos","events_url":"https://api.github.com/users/taheris/events{/privacy}","received_events_url":"https://api.github.com/users/taheris/received_events","type":"User","site_admin":false},"body":"Rather than hardcoding `terms`, this should point to the actual HTML filename that contains the accepted terms.","created_at":"2018-05-09T11:45:31Z","updated_at":"2018-05-09T11:45:37Z","html_url":"https://github.com/advancedtelematic/ota-plus-server/pull/1616#discussion_r187013024","pull_request_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/pulls/1616","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/advancedtelematic/ota-plus-server/pulls/comments/187013024"},"html":{"href":"https://github.com/advancedtelematic/ota-plus-server/pull/1616#discussion_r187013024"},"pull_request":{"href":"https://api.github.com/repos/advancedtelematic/ota-plus-server/pulls/1616"}}},"pull_request":{"url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/pulls/1616","id":186012905,"html_url":"https://github.com/advancedtelematic/ota-plus-server/pull/1616","diff_url":"https://github.com/advancedtelematic/ota-plus-server/pull/1616.diff","patch_url":"https://github.com/advancedtelematic/ota-plus-server/pull/1616.patch","issue_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/issues/1616","number":1616,"state":"open","locked":false,"title":"Add requests to contracts API","user":{"login":"ac-dfedko","id":30620443,"avatar_url":"https://avatars0.githubusercontent.com/u/30620443?v=4","gravatar_id":"","url":"https://api.github.com/users/ac-dfedko","html_url":"https://github.com/ac-dfedko","followers_url":"https://api.github.com/users/ac-dfedko/followers","following_url":"https://api.github.com/users/ac-dfedko/following{/other_user}","gists_url":"https://api.github.com/users/ac-dfedko/gists{/gist_id}","starred_url":"https://api.github.com/users/ac-dfedko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ac-dfedko/subscriptions","organizations_url":"https://api.github.com/users/ac-dfedko/orgs","repos_url":"https://api.github.com/users/ac-dfedko/repos","events_url":"https://api.github.com/users/ac-dfedko/events{/privacy}","received_events_url":"https://api.github.com/users/ac-dfedko/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-05-04T15:12:44Z","updated_at":"2018-05-09T11:45:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3a50688ae48e9e8561bbeb26cbff0b655f88cd05","assignee":null,"assignees":[],"requested_reviewers":[{"login":"jerrytrieu","id":7487227,"avatar_url":"https://avatars1.githubusercontent.com/u/7487227?v=4","gravatar_id":"","url":"https://api.github.com/users/jerrytrieu","html_url":"https://github.com/jerrytrieu","followers_url":"https://api.github.com/users/jerrytrieu/followers","following_url":"https://api.github.com/users/jerrytrieu/following{/other_user}","gists_url":"https://api.github.com/users/jerrytrieu/gists{/gist_id}","starred_url":"https://api.github.com/users/jerrytrieu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jerrytrieu/subscriptions","organizations_url":"https://api.github.com/users/jerrytrieu/orgs","repos_url":"https://api.github.com/users/jerrytrieu/repos","events_url":"https://api.github.com/users/jerrytrieu/events{/privacy}","received_events_url":"https://api.github.com/users/jerrytrieu/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/pulls/1616/commits","review_comments_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/pulls/1616/comments","review_comment_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/issues/1616/comments","statuses_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/statuses/6ab5c840e86ed6a49fded3d8fe00a159f84052bf","head":{"label":"advancedtelematic:feat/PRO-5279/contracts_api","ref":"feat/PRO-5279/contracts_api","sha":"6ab5c840e86ed6a49fded3d8fe00a159f84052bf","user":{"login":"advancedtelematic","id":7944633,"avatar_url":"https://avatars0.githubusercontent.com/u/7944633?v=4","gravatar_id":"","url":"https://api.github.com/users/advancedtelematic","html_url":"https://github.com/advancedtelematic","followers_url":"https://api.github.com/users/advancedtelematic/followers","following_url":"https://api.github.com/users/advancedtelematic/following{/other_user}","gists_url":"https://api.github.com/users/advancedtelematic/gists{/gist_id}","starred_url":"https://api.github.com/users/advancedtelematic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/advancedtelematic/subscriptions","organizations_url":"https://api.github.com/users/advancedtelematic/orgs","repos_url":"https://api.github.com/users/advancedtelematic/repos","events_url":"https://api.github.com/users/advancedtelematic/events{/privacy}","received_events_url":"https://api.github.com/users/advancedtelematic/received_events","type":"Organization","site_admin":false},"repo":{"id":51766551,"name":"ota-plus-server","full_name":"advancedtelematic/ota-plus-server","owner":{"login":"advancedtelematic","id":7944633,"avatar_url":"https://avatars0.githubusercontent.com/u/7944633?v=4","gravatar_id":"","url":"https://api.github.com/users/advancedtelematic","html_url":"https://github.com/advancedtelematic","followers_url":"https://api.github.com/users/advancedtelematic/followers","following_url":"https://api.github.com/users/advancedtelematic/following{/other_user}","gists_url":"https://api.github.com/users/advancedtelematic/gists{/gist_id}","starred_url":"https://api.github.com/users/advancedtelematic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/advancedtelematic/subscriptions","organizations_url":"https://api.github.com/users/advancedtelematic/orgs","repos_url":"https://api.github.com/users/advancedtelematic/repos","events_url":"https://api.github.com/users/advancedtelematic/events{/privacy}","received_events_url":"https://api.github.com/users/advancedtelematic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/advancedtelematic/ota-plus-server","description":"OTA Plus Admin UI","fork":false,"url":"https://api.github.com/repos/advancedtelematic/ota-plus-server","forks_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/forks","keys_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/teams","hooks_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/hooks","issue_events_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/issues/events{/number}","events_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/events","assignees_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/assignees{/user}","branches_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/branches{/branch}","tags_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/tags","blobs_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/statuses/{sha}","languages_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/languages","stargazers_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/stargazers","contributors_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/contributors","subscribers_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/subscribers","subscription_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/subscription","commits_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/contents/{+path}","compare_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/merges","archive_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/downloads","issues_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/issues{/number}","pulls_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/pulls{/number}","milestones_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/milestones{/number}","notifications_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/labels{/name}","releases_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/releases{/id}","deployments_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/deployments","created_at":"2016-02-15T15:56:09Z","updated_at":"2018-05-07T06:54:37Z","pushed_at":"2018-05-09T10:51:02Z","git_url":"git://github.com/advancedtelematic/ota-plus-server.git","ssh_url":"git@github.com:advancedtelematic/ota-plus-server.git","clone_url":"https://github.com/advancedtelematic/ota-plus-server.git","svn_url":"https://github.com/advancedtelematic/ota-plus-server","homepage":"","size":28243,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":3,"open_issues":5,"watchers":6,"default_branch":"master"}},"base":{"label":"advancedtelematic:master","ref":"master","sha":"6529102d1f2f2819db7305292057ed735f45230c","user":{"login":"advancedtelematic","id":7944633,"avatar_url":"https://avatars0.githubusercontent.com/u/7944633?v=4","gravatar_id":"","url":"https://api.github.com/users/advancedtelematic","html_url":"https://github.com/advancedtelematic","followers_url":"https://api.github.com/users/advancedtelematic/followers","following_url":"https://api.github.com/users/advancedtelematic/following{/other_user}","gists_url":"https://api.github.com/users/advancedtelematic/gists{/gist_id}","starred_url":"https://api.github.com/users/advancedtelematic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/advancedtelematic/subscriptions","organizations_url":"https://api.github.com/users/advancedtelematic/orgs","repos_url":"https://api.github.com/users/advancedtelematic/repos","events_url":"https://api.github.com/users/advancedtelematic/events{/privacy}","received_events_url":"https://api.github.com/users/advancedtelematic/received_events","type":"Organization","site_admin":false},"repo":{"id":51766551,"name":"ota-plus-server","full_name":"advancedtelematic/ota-plus-server","owner":{"login":"advancedtelematic","id":7944633,"avatar_url":"https://avatars0.githubusercontent.com/u/7944633?v=4","gravatar_id":"","url":"https://api.github.com/users/advancedtelematic","html_url":"https://github.com/advancedtelematic","followers_url":"https://api.github.com/users/advancedtelematic/followers","following_url":"https://api.github.com/users/advancedtelematic/following{/other_user}","gists_url":"https://api.github.com/users/advancedtelematic/gists{/gist_id}","starred_url":"https://api.github.com/users/advancedtelematic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/advancedtelematic/subscriptions","organizations_url":"https://api.github.com/users/advancedtelematic/orgs","repos_url":"https://api.github.com/users/advancedtelematic/repos","events_url":"https://api.github.com/users/advancedtelematic/events{/privacy}","received_events_url":"https://api.github.com/users/advancedtelematic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/advancedtelematic/ota-plus-server","description":"OTA Plus Admin UI","fork":false,"url":"https://api.github.com/repos/advancedtelematic/ota-plus-server","forks_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/forks","keys_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/teams","hooks_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/hooks","issue_events_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/issues/events{/number}","events_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/events","assignees_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/assignees{/user}","branches_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/branches{/branch}","tags_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/tags","blobs_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/statuses/{sha}","languages_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/languages","stargazers_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/stargazers","contributors_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/contributors","subscribers_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/subscribers","subscription_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/subscription","commits_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/contents/{+path}","compare_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/merges","archive_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/downloads","issues_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/issues{/number}","pulls_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/pulls{/number}","milestones_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/milestones{/number}","notifications_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/labels{/name}","releases_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/releases{/id}","deployments_url":"https://api.github.com/repos/advancedtelematic/ota-plus-server/deployments","created_at":"2016-02-15T15:56:09Z","updated_at":"2018-05-07T06:54:37Z","pushed_at":"2018-05-09T10:51:02Z","git_url":"git://github.com/advancedtelematic/ota-plus-server.git","ssh_url":"git@github.com:advancedtelematic/ota-plus-server.git","clone_url":"https://github.com/advancedtelematic/ota-plus-server.git","svn_url":"https://github.com/advancedtelematic/ota-plus-server","homepage":"","size":28243,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":3,"open_issues":5,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/advancedtelematic/ota-plus-server/pulls/1616"},"html":{"href":"https://github.com/advancedtelematic/ota-plus-server/pull/1616"},"issue":{"href":"https://api.github.com/repos/advancedtelematic/ota-plus-server/issues/1616"},"comments":{"href":"https://api.github.com/repos/advancedtelematic/ota-plus-server/issues/1616/comments"},"review_comments":{"href":"https://api.github.com/repos/advancedtelematic/ota-plus-server/pulls/1616/comments"},"review_comment":{"href":"https://api.github.com/repos/advancedtelematic/ota-plus-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/advancedtelematic/ota-plus-server/pulls/1616/commits"},"statuses":{"href":"https://api.github.com/repos/advancedtelematic/ota-plus-server/statuses/6ab5c840e86ed6a49fded3d8fe00a159f84052bf"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"taheris"}}