{"action":"created","comment":{"url":"https://api.github.com/repos/shoprunback/prestashop-module/pulls/comments/190544366","pull_request_review_id":122940256,"id":190544366,"diff_hunk":"@@ -9,6 +9,7 @@\n define ('DASHBOARD_PROD_URL', \\Shoprunback\\RestClient::getClient()->getProductionUrl());\n \n \\Shoprunback\\RestClient::getClient()->setToken(Configuration::get('srbtoken'));\n+\\Shoprunback\\RestClient::getClient()->setCustomHeader(['PrestaShop-Version: ' . _PS_VERSION_]);","path":"shoprunback.php","position":4,"original_position":4,"commit_id":"041824ea01cd0ea634dd339c32bf582463d69678","original_commit_id":"041824ea01cd0ea634dd339c32bf582463d69678","user":{"login":"leo-martin","id":1032402,"avatar_url":"https://avatars0.githubusercontent.com/u/1032402?v=4","gravatar_id":"","url":"https://api.github.com/users/leo-martin","html_url":"https://github.com/leo-martin","followers_url":"https://api.github.com/users/leo-martin/followers","following_url":"https://api.github.com/users/leo-martin/following{/other_user}","gists_url":"https://api.github.com/users/leo-martin/gists{/gist_id}","starred_url":"https://api.github.com/users/leo-martin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leo-martin/subscriptions","organizations_url":"https://api.github.com/users/leo-martin/orgs","repos_url":"https://api.github.com/users/leo-martin/repos","events_url":"https://api.github.com/users/leo-martin/events{/privacy}","received_events_url":"https://api.github.com/users/leo-martin/received_events","type":"User","site_admin":false},"body":"Prestashop would be better","created_at":"2018-05-24T10:54:13Z","updated_at":"2018-05-24T10:54:13Z","html_url":"https://github.com/shoprunback/prestashop-module/pull/52#discussion_r190544366","pull_request_url":"https://api.github.com/repos/shoprunback/prestashop-module/pulls/52","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/shoprunback/prestashop-module/pulls/comments/190544366"},"html":{"href":"https://github.com/shoprunback/prestashop-module/pull/52#discussion_r190544366"},"pull_request":{"href":"https://api.github.com/repos/shoprunback/prestashop-module/pulls/52"}}},"pull_request":{"url":"https://api.github.com/repos/shoprunback/prestashop-module/pulls/52","id":190247481,"html_url":"https://github.com/shoprunback/prestashop-module/pull/52","diff_url":"https://github.com/shoprunback/prestashop-module/pull/52.diff","patch_url":"https://github.com/shoprunback/prestashop-module/pull/52.patch","issue_url":"https://api.github.com/repos/shoprunback/prestashop-module/issues/52","number":52,"state":"open","locked":false,"title":"Add PS version in HTTP headers","user":{"login":"PaulGirardin","id":14993831,"avatar_url":"https://avatars2.githubusercontent.com/u/14993831?v=4","gravatar_id":"","url":"https://api.github.com/users/PaulGirardin","html_url":"https://github.com/PaulGirardin","followers_url":"https://api.github.com/users/PaulGirardin/followers","following_url":"https://api.github.com/users/PaulGirardin/following{/other_user}","gists_url":"https://api.github.com/users/PaulGirardin/gists{/gist_id}","starred_url":"https://api.github.com/users/PaulGirardin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PaulGirardin/subscriptions","organizations_url":"https://api.github.com/users/PaulGirardin/orgs","repos_url":"https://api.github.com/users/PaulGirardin/repos","events_url":"https://api.github.com/users/PaulGirardin/events{/privacy}","received_events_url":"https://api.github.com/users/PaulGirardin/received_events","type":"User","site_admin":false},"body":"/!\\ NEEDS https://github.com/shoprunback/shoprunback-php/pull/34 TO BE MERGED BEFORE /!\\","created_at":"2018-05-24T10:52:41Z","updated_at":"2018-05-24T10:54:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3815b76adfc7b889fc135f46fe871fe3e7db5d9a","assignee":null,"assignees":[],"requested_reviewers":[{"login":"tildedash","id":937699,"avatar_url":"https://avatars2.githubusercontent.com/u/937699?v=4","gravatar_id":"","url":"https://api.github.com/users/tildedash","html_url":"https://github.com/tildedash","followers_url":"https://api.github.com/users/tildedash/followers","following_url":"https://api.github.com/users/tildedash/following{/other_user}","gists_url":"https://api.github.com/users/tildedash/gists{/gist_id}","starred_url":"https://api.github.com/users/tildedash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tildedash/subscriptions","organizations_url":"https://api.github.com/users/tildedash/orgs","repos_url":"https://api.github.com/users/tildedash/repos","events_url":"https://api.github.com/users/tildedash/events{/privacy}","received_events_url":"https://api.github.com/users/tildedash/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/shoprunback/prestashop-module/pulls/52/commits","review_comments_url":"https://api.github.com/repos/shoprunback/prestashop-module/pulls/52/comments","review_comment_url":"https://api.github.com/repos/shoprunback/prestashop-module/pulls/comments{/number}","comments_url":"https://api.github.com/repos/shoprunback/prestashop-module/issues/52/comments","statuses_url":"https://api.github.com/repos/shoprunback/prestashop-module/statuses/041824ea01cd0ea634dd339c32bf582463d69678","head":{"label":"shoprunback:ps-version-in-header-for-sync-51","ref":"ps-version-in-header-for-sync-51","sha":"041824ea01cd0ea634dd339c32bf582463d69678","user":{"login":"shoprunback","id":9927909,"avatar_url":"https://avatars1.githubusercontent.com/u/9927909?v=4","gravatar_id":"","url":"https://api.github.com/users/shoprunback","html_url":"https://github.com/shoprunback","followers_url":"https://api.github.com/users/shoprunback/followers","following_url":"https://api.github.com/users/shoprunback/following{/other_user}","gists_url":"https://api.github.com/users/shoprunback/gists{/gist_id}","starred_url":"https://api.github.com/users/shoprunback/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shoprunback/subscriptions","organizations_url":"https://api.github.com/users/shoprunback/orgs","repos_url":"https://api.github.com/users/shoprunback/repos","events_url":"https://api.github.com/users/shoprunback/events{/privacy}","received_events_url":"https://api.github.com/users/shoprunback/received_events","type":"Organization","site_admin":false},"repo":{"id":110103989,"name":"prestashop-module","full_name":"shoprunback/prestashop-module","owner":{"login":"shoprunback","id":9927909,"avatar_url":"https://avatars1.githubusercontent.com/u/9927909?v=4","gravatar_id":"","url":"https://api.github.com/users/shoprunback","html_url":"https://github.com/shoprunback","followers_url":"https://api.github.com/users/shoprunback/followers","following_url":"https://api.github.com/users/shoprunback/following{/other_user}","gists_url":"https://api.github.com/users/shoprunback/gists{/gist_id}","starred_url":"https://api.github.com/users/shoprunback/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shoprunback/subscriptions","organizations_url":"https://api.github.com/users/shoprunback/orgs","repos_url":"https://api.github.com/users/shoprunback/repos","events_url":"https://api.github.com/users/shoprunback/events{/privacy}","received_events_url":"https://api.github.com/users/shoprunback/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/shoprunback/prestashop-module","description":"Prestashop (>= 1.6.0.9) module ","fork":false,"url":"https://api.github.com/repos/shoprunback/prestashop-module","forks_url":"https://api.github.com/repos/shoprunback/prestashop-module/forks","keys_url":"https://api.github.com/repos/shoprunback/prestashop-module/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shoprunback/prestashop-module/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shoprunback/prestashop-module/teams","hooks_url":"https://api.github.com/repos/shoprunback/prestashop-module/hooks","issue_events_url":"https://api.github.com/repos/shoprunback/prestashop-module/issues/events{/number}","events_url":"https://api.github.com/repos/shoprunback/prestashop-module/events","assignees_url":"https://api.github.com/repos/shoprunback/prestashop-module/assignees{/user}","branches_url":"https://api.github.com/repos/shoprunback/prestashop-module/branches{/branch}","tags_url":"https://api.github.com/repos/shoprunback/prestashop-module/tags","blobs_url":"https://api.github.com/repos/shoprunback/prestashop-module/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shoprunback/prestashop-module/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shoprunback/prestashop-module/git/refs{/sha}","trees_url":"https://api.github.com/repos/shoprunback/prestashop-module/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shoprunback/prestashop-module/statuses/{sha}","languages_url":"https://api.github.com/repos/shoprunback/prestashop-module/languages","stargazers_url":"https://api.github.com/repos/shoprunback/prestashop-module/stargazers","contributors_url":"https://api.github.com/repos/shoprunback/prestashop-module/contributors","subscribers_url":"https://api.github.com/repos/shoprunback/prestashop-module/subscribers","subscription_url":"https://api.github.com/repos/shoprunback/prestashop-module/subscription","commits_url":"https://api.github.com/repos/shoprunback/prestashop-module/commits{/sha}","git_commits_url":"https://api.github.com/repos/shoprunback/prestashop-module/git/commits{/sha}","comments_url":"https://api.github.com/repos/shoprunback/prestashop-module/comments{/number}","issue_comment_url":"https://api.github.com/repos/shoprunback/prestashop-module/issues/comments{/number}","contents_url":"https://api.github.com/repos/shoprunback/prestashop-module/contents/{+path}","compare_url":"https://api.github.com/repos/shoprunback/prestashop-module/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shoprunback/prestashop-module/merges","archive_url":"https://api.github.com/repos/shoprunback/prestashop-module/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shoprunback/prestashop-module/downloads","issues_url":"https://api.github.com/repos/shoprunback/prestashop-module/issues{/number}","pulls_url":"https://api.github.com/repos/shoprunback/prestashop-module/pulls{/number}","milestones_url":"https://api.github.com/repos/shoprunback/prestashop-module/milestones{/number}","notifications_url":"https://api.github.com/repos/shoprunback/prestashop-module/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shoprunback/prestashop-module/labels{/name}","releases_url":"https://api.github.com/repos/shoprunback/prestashop-module/releases{/id}","deployments_url":"https://api.github.com/repos/shoprunback/prestashop-module/deployments","created_at":"2017-11-09T10:57:14Z","updated_at":"2018-05-23T10:12:37Z","pushed_at":"2018-05-24T10:53:13Z","git_url":"git://github.com/shoprunback/prestashop-module.git","ssh_url":"git@github.com:shoprunback/prestashop-module.git","clone_url":"https://github.com/shoprunback/prestashop-module.git","svn_url":"https://github.com/shoprunback/prestashop-module","homepage":"https://shoprunback.github.io/documentation/prestashop.html","size":5240,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":10,"license":null,"forks":0,"open_issues":10,"watchers":0,"default_branch":"master"}},"base":{"label":"shoprunback:master","ref":"master","sha":"2e054f09c346d8e7677751473899e7268286fb26","user":{"login":"shoprunback","id":9927909,"avatar_url":"https://avatars1.githubusercontent.com/u/9927909?v=4","gravatar_id":"","url":"https://api.github.com/users/shoprunback","html_url":"https://github.com/shoprunback","followers_url":"https://api.github.com/users/shoprunback/followers","following_url":"https://api.github.com/users/shoprunback/following{/other_user}","gists_url":"https://api.github.com/users/shoprunback/gists{/gist_id}","starred_url":"https://api.github.com/users/shoprunback/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shoprunback/subscriptions","organizations_url":"https://api.github.com/users/shoprunback/orgs","repos_url":"https://api.github.com/users/shoprunback/repos","events_url":"https://api.github.com/users/shoprunback/events{/privacy}","received_events_url":"https://api.github.com/users/shoprunback/received_events","type":"Organization","site_admin":false},"repo":{"id":110103989,"name":"prestashop-module","full_name":"shoprunback/prestashop-module","owner":{"login":"shoprunback","id":9927909,"avatar_url":"https://avatars1.githubusercontent.com/u/9927909?v=4","gravatar_id":"","url":"https://api.github.com/users/shoprunback","html_url":"https://github.com/shoprunback","followers_url":"https://api.github.com/users/shoprunback/followers","following_url":"https://api.github.com/users/shoprunback/following{/other_user}","gists_url":"https://api.github.com/users/shoprunback/gists{/gist_id}","starred_url":"https://api.github.com/users/shoprunback/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shoprunback/subscriptions","organizations_url":"https://api.github.com/users/shoprunback/orgs","repos_url":"https://api.github.com/users/shoprunback/repos","events_url":"https://api.github.com/users/shoprunback/events{/privacy}","received_events_url":"https://api.github.com/users/shoprunback/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/shoprunback/prestashop-module","description":"Prestashop (>= 1.6.0.9) module ","fork":false,"url":"https://api.github.com/repos/shoprunback/prestashop-module","forks_url":"https://api.github.com/repos/shoprunback/prestashop-module/forks","keys_url":"https://api.github.com/repos/shoprunback/prestashop-module/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shoprunback/prestashop-module/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shoprunback/prestashop-module/teams","hooks_url":"https://api.github.com/repos/shoprunback/prestashop-module/hooks","issue_events_url":"https://api.github.com/repos/shoprunback/prestashop-module/issues/events{/number}","events_url":"https://api.github.com/repos/shoprunback/prestashop-module/events","assignees_url":"https://api.github.com/repos/shoprunback/prestashop-module/assignees{/user}","branches_url":"https://api.github.com/repos/shoprunback/prestashop-module/branches{/branch}","tags_url":"https://api.github.com/repos/shoprunback/prestashop-module/tags","blobs_url":"https://api.github.com/repos/shoprunback/prestashop-module/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shoprunback/prestashop-module/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shoprunback/prestashop-module/git/refs{/sha}","trees_url":"https://api.github.com/repos/shoprunback/prestashop-module/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shoprunback/prestashop-module/statuses/{sha}","languages_url":"https://api.github.com/repos/shoprunback/prestashop-module/languages","stargazers_url":"https://api.github.com/repos/shoprunback/prestashop-module/stargazers","contributors_url":"https://api.github.com/repos/shoprunback/prestashop-module/contributors","subscribers_url":"https://api.github.com/repos/shoprunback/prestashop-module/subscribers","subscription_url":"https://api.github.com/repos/shoprunback/prestashop-module/subscription","commits_url":"https://api.github.com/repos/shoprunback/prestashop-module/commits{/sha}","git_commits_url":"https://api.github.com/repos/shoprunback/prestashop-module/git/commits{/sha}","comments_url":"https://api.github.com/repos/shoprunback/prestashop-module/comments{/number}","issue_comment_url":"https://api.github.com/repos/shoprunback/prestashop-module/issues/comments{/number}","contents_url":"https://api.github.com/repos/shoprunback/prestashop-module/contents/{+path}","compare_url":"https://api.github.com/repos/shoprunback/prestashop-module/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shoprunback/prestashop-module/merges","archive_url":"https://api.github.com/repos/shoprunback/prestashop-module/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shoprunback/prestashop-module/downloads","issues_url":"https://api.github.com/repos/shoprunback/prestashop-module/issues{/number}","pulls_url":"https://api.github.com/repos/shoprunback/prestashop-module/pulls{/number}","milestones_url":"https://api.github.com/repos/shoprunback/prestashop-module/milestones{/number}","notifications_url":"https://api.github.com/repos/shoprunback/prestashop-module/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shoprunback/prestashop-module/labels{/name}","releases_url":"https://api.github.com/repos/shoprunback/prestashop-module/releases{/id}","deployments_url":"https://api.github.com/repos/shoprunback/prestashop-module/deployments","created_at":"2017-11-09T10:57:14Z","updated_at":"2018-05-23T10:12:37Z","pushed_at":"2018-05-24T10:53:13Z","git_url":"git://github.com/shoprunback/prestashop-module.git","ssh_url":"git@github.com:shoprunback/prestashop-module.git","clone_url":"https://github.com/shoprunback/prestashop-module.git","svn_url":"https://github.com/shoprunback/prestashop-module","homepage":"https://shoprunback.github.io/documentation/prestashop.html","size":5240,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":10,"license":null,"forks":0,"open_issues":10,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/shoprunback/prestashop-module/pulls/52"},"html":{"href":"https://github.com/shoprunback/prestashop-module/pull/52"},"issue":{"href":"https://api.github.com/repos/shoprunback/prestashop-module/issues/52"},"comments":{"href":"https://api.github.com/repos/shoprunback/prestashop-module/issues/52/comments"},"review_comments":{"href":"https://api.github.com/repos/shoprunback/prestashop-module/pulls/52/comments"},"review_comment":{"href":"https://api.github.com/repos/shoprunback/prestashop-module/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/shoprunback/prestashop-module/pulls/52/commits"},"statuses":{"href":"https://api.github.com/repos/shoprunback/prestashop-module/statuses/041824ea01cd0ea634dd339c32bf582463d69678"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"leo-martin"}}