{"action":"created","comment":{"url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/pulls/comments/206495518","pull_request_review_id":141916463,"id":206495518,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNjQ5NTUxOA==","diff_hunk":"@@ -73,6 +73,7 @@ function fetchEndpoint(endpoint) {\n     .then(response => {\n       return endpoint.transform(response);\n     }).catch(error => {\n+      error.response.headers.set('Authorization', 'BEARER XXX');","path":"src/api/atlas_sdk_client.js","position":4,"original_position":4,"commit_id":"6448ece7993746e520a162ea85e122ec0f710bc6","original_commit_id":"6448ece7993746e520a162ea85e122ec0f710bc6","user":{"login":"Etchs","id":4753613,"node_id":"MDQ6VXNlcjQ3NTM2MTM=","avatar_url":"https://avatars3.githubusercontent.com/u/4753613?v=4","gravatar_id":"","url":"https://api.github.com/users/Etchs","html_url":"https://github.com/Etchs","followers_url":"https://api.github.com/users/Etchs/followers","following_url":"https://api.github.com/users/Etchs/following{/other_user}","gists_url":"https://api.github.com/users/Etchs/gists{/gist_id}","starred_url":"https://api.github.com/users/Etchs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Etchs/subscriptions","organizations_url":"https://api.github.com/users/Etchs/orgs","repos_url":"https://api.github.com/users/Etchs/repos","events_url":"https://api.github.com/users/Etchs/events{/privacy}","received_events_url":"https://api.github.com/users/Etchs/received_events","type":"User","site_admin":false},"body":"maybe safer `error.response && error.response.headers.set('Authorization', 'BEARER XXX');`?","created_at":"2018-07-31T11:50:29Z","updated_at":"2018-07-31T11:50:30Z","html_url":"https://github.com/zalando-incubator/atlas-js-core/pull/157#discussion_r206495518","pull_request_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/pulls/157","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/zalando-incubator/atlas-js-core/pulls/comments/206495518"},"html":{"href":"https://github.com/zalando-incubator/atlas-js-core/pull/157#discussion_r206495518"},"pull_request":{"href":"https://api.github.com/repos/zalando-incubator/atlas-js-core/pulls/157"}}},"pull_request":{"url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/pulls/157","id":205085454,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA1MDg1NDU0","html_url":"https://github.com/zalando-incubator/atlas-js-core/pull/157","diff_url":"https://github.com/zalando-incubator/atlas-js-core/pull/157.diff","patch_url":"https://github.com/zalando-incubator/atlas-js-core/pull/157.patch","issue_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/issues/157","number":157,"state":"open","locked":false,"title":"fix(scalyr): #153 - sanitize error token","user":{"login":"ahmed-shehata","id":4982099,"node_id":"MDQ6VXNlcjQ5ODIwOTk=","avatar_url":"https://avatars3.githubusercontent.com/u/4982099?v=4","gravatar_id":"","url":"https://api.github.com/users/ahmed-shehata","html_url":"https://github.com/ahmed-shehata","followers_url":"https://api.github.com/users/ahmed-shehata/followers","following_url":"https://api.github.com/users/ahmed-shehata/following{/other_user}","gists_url":"https://api.github.com/users/ahmed-shehata/gists{/gist_id}","starred_url":"https://api.github.com/users/ahmed-shehata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahmed-shehata/subscriptions","organizations_url":"https://api.github.com/users/ahmed-shehata/orgs","repos_url":"https://api.github.com/users/ahmed-shehata/repos","events_url":"https://api.github.com/users/ahmed-shehata/events{/privacy}","received_events_url":"https://api.github.com/users/ahmed-shehata/received_events","type":"User","site_admin":false},"body":"fix(scalyr): #153 - sanitize error token","created_at":"2018-07-31T11:47:54Z","updated_at":"2018-07-31T11:50:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ff8257a9650e461774c5b18b95823c4fd7e45bd9","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/pulls/157/commits","review_comments_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/pulls/157/comments","review_comment_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/issues/157/comments","statuses_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/statuses/6448ece7993746e520a162ea85e122ec0f710bc6","head":{"label":"zalando-incubator:153-sanitize-logs","ref":"153-sanitize-logs","sha":"6448ece7993746e520a162ea85e122ec0f710bc6","user":{"login":"zalando-incubator","id":18533786,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4NTMzNzg2","avatar_url":"https://avatars3.githubusercontent.com/u/18533786?v=4","gravatar_id":"","url":"https://api.github.com/users/zalando-incubator","html_url":"https://github.com/zalando-incubator","followers_url":"https://api.github.com/users/zalando-incubator/followers","following_url":"https://api.github.com/users/zalando-incubator/following{/other_user}","gists_url":"https://api.github.com/users/zalando-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/zalando-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zalando-incubator/subscriptions","organizations_url":"https://api.github.com/users/zalando-incubator/orgs","repos_url":"https://api.github.com/users/zalando-incubator/repos","events_url":"https://api.github.com/users/zalando-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/zalando-incubator/received_events","type":"Organization","site_admin":false},"repo":{"id":73809041,"node_id":"MDEwOlJlcG9zaXRvcnk3MzgwOTA0MQ==","name":"atlas-js-core","full_name":"zalando-incubator/atlas-js-core","owner":{"login":"zalando-incubator","id":18533786,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4NTMzNzg2","avatar_url":"https://avatars3.githubusercontent.com/u/18533786?v=4","gravatar_id":"","url":"https://api.github.com/users/zalando-incubator","html_url":"https://github.com/zalando-incubator","followers_url":"https://api.github.com/users/zalando-incubator/followers","following_url":"https://api.github.com/users/zalando-incubator/following{/other_user}","gists_url":"https://api.github.com/users/zalando-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/zalando-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zalando-incubator/subscriptions","organizations_url":"https://api.github.com/users/zalando-incubator/orgs","repos_url":"https://api.github.com/users/zalando-incubator/repos","events_url":"https://api.github.com/users/zalando-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/zalando-incubator/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zalando-incubator/atlas-js-core","description":"JavaScript SDK Core for Zalando Checkout, Guest Checkout, and Catalog APIs","fork":false,"url":"https://api.github.com/repos/zalando-incubator/atlas-js-core","forks_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/forks","keys_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/teams","hooks_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/hooks","issue_events_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/issues/events{/number}","events_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/events","assignees_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/assignees{/user}","branches_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/branches{/branch}","tags_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/tags","blobs_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/statuses/{sha}","languages_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/languages","stargazers_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/stargazers","contributors_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/contributors","subscribers_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/subscribers","subscription_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/subscription","commits_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/contents/{+path}","compare_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/merges","archive_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/downloads","issues_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/issues{/number}","pulls_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/pulls{/number}","milestones_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/milestones{/number}","notifications_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/labels{/name}","releases_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/releases{/id}","deployments_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/deployments","created_at":"2016-11-15T11:55:12Z","updated_at":"2018-07-27T09:38:47Z","pushed_at":"2018-07-31T11:47:54Z","git_url":"git://github.com/zalando-incubator/atlas-js-core.git","ssh_url":"git@github.com:zalando-incubator/atlas-js-core.git","clone_url":"https://github.com/zalando-incubator/atlas-js-core.git","svn_url":"https://github.com/zalando-incubator/atlas-js-core","homepage":"","size":2768,"stargazers_count":8,"watchers_count":8,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":12,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":3,"open_issues":12,"watchers":8,"default_branch":"master"}},"base":{"label":"zalando-incubator:master","ref":"master","sha":"b6fcefa3afb9b0151941239a19077e7130690f1c","user":{"login":"zalando-incubator","id":18533786,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4NTMzNzg2","avatar_url":"https://avatars3.githubusercontent.com/u/18533786?v=4","gravatar_id":"","url":"https://api.github.com/users/zalando-incubator","html_url":"https://github.com/zalando-incubator","followers_url":"https://api.github.com/users/zalando-incubator/followers","following_url":"https://api.github.com/users/zalando-incubator/following{/other_user}","gists_url":"https://api.github.com/users/zalando-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/zalando-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zalando-incubator/subscriptions","organizations_url":"https://api.github.com/users/zalando-incubator/orgs","repos_url":"https://api.github.com/users/zalando-incubator/repos","events_url":"https://api.github.com/users/zalando-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/zalando-incubator/received_events","type":"Organization","site_admin":false},"repo":{"id":73809041,"node_id":"MDEwOlJlcG9zaXRvcnk3MzgwOTA0MQ==","name":"atlas-js-core","full_name":"zalando-incubator/atlas-js-core","owner":{"login":"zalando-incubator","id":18533786,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4NTMzNzg2","avatar_url":"https://avatars3.githubusercontent.com/u/18533786?v=4","gravatar_id":"","url":"https://api.github.com/users/zalando-incubator","html_url":"https://github.com/zalando-incubator","followers_url":"https://api.github.com/users/zalando-incubator/followers","following_url":"https://api.github.com/users/zalando-incubator/following{/other_user}","gists_url":"https://api.github.com/users/zalando-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/zalando-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zalando-incubator/subscriptions","organizations_url":"https://api.github.com/users/zalando-incubator/orgs","repos_url":"https://api.github.com/users/zalando-incubator/repos","events_url":"https://api.github.com/users/zalando-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/zalando-incubator/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zalando-incubator/atlas-js-core","description":"JavaScript SDK Core for Zalando Checkout, Guest Checkout, and Catalog APIs","fork":false,"url":"https://api.github.com/repos/zalando-incubator/atlas-js-core","forks_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/forks","keys_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/teams","hooks_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/hooks","issue_events_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/issues/events{/number}","events_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/events","assignees_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/assignees{/user}","branches_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/branches{/branch}","tags_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/tags","blobs_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/statuses/{sha}","languages_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/languages","stargazers_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/stargazers","contributors_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/contributors","subscribers_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/subscribers","subscription_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/subscription","commits_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/contents/{+path}","compare_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/merges","archive_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/downloads","issues_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/issues{/number}","pulls_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/pulls{/number}","milestones_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/milestones{/number}","notifications_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/labels{/name}","releases_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/releases{/id}","deployments_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/deployments","created_at":"2016-11-15T11:55:12Z","updated_at":"2018-07-27T09:38:47Z","pushed_at":"2018-07-31T11:47:54Z","git_url":"git://github.com/zalando-incubator/atlas-js-core.git","ssh_url":"git@github.com:zalando-incubator/atlas-js-core.git","clone_url":"https://github.com/zalando-incubator/atlas-js-core.git","svn_url":"https://github.com/zalando-incubator/atlas-js-core","homepage":"","size":2768,"stargazers_count":8,"watchers_count":8,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":12,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":3,"open_issues":12,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zalando-incubator/atlas-js-core/pulls/157"},"html":{"href":"https://github.com/zalando-incubator/atlas-js-core/pull/157"},"issue":{"href":"https://api.github.com/repos/zalando-incubator/atlas-js-core/issues/157"},"comments":{"href":"https://api.github.com/repos/zalando-incubator/atlas-js-core/issues/157/comments"},"review_comments":{"href":"https://api.github.com/repos/zalando-incubator/atlas-js-core/pulls/157/comments"},"review_comment":{"href":"https://api.github.com/repos/zalando-incubator/atlas-js-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zalando-incubator/atlas-js-core/pulls/157/commits"},"statuses":{"href":"https://api.github.com/repos/zalando-incubator/atlas-js-core/statuses/6448ece7993746e520a162ea85e122ec0f710bc6"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"Etchs"}}