{"action":"closed","number":65,"pull_request":{"url":"https://api.github.com/repos/1stdibs/hubot-scripts/pulls/65","id":155704546,"html_url":"https://github.com/1stdibs/hubot-scripts/pull/65","diff_url":"https://github.com/1stdibs/hubot-scripts/pull/65.diff","patch_url":"https://github.com/1stdibs/hubot-scripts/pull/65.patch","issue_url":"https://api.github.com/repos/1stdibs/hubot-scripts/issues/65","number":65,"state":"closed","locked":false,"title":"Enhance dibsy's Spotify Re-Authorization Logic","user":{"login":"andromedado","id":926822,"avatar_url":"https://avatars0.githubusercontent.com/u/926822?v=4","gravatar_id":"","url":"https://api.github.com/users/andromedado","html_url":"https://github.com/andromedado","followers_url":"https://api.github.com/users/andromedado/followers","following_url":"https://api.github.com/users/andromedado/following{/other_user}","gists_url":"https://api.github.com/users/andromedado/gists{/gist_id}","starred_url":"https://api.github.com/users/andromedado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andromedado/subscriptions","organizations_url":"https://api.github.com/users/andromedado/orgs","repos_url":"https://api.github.com/users/andromedado/repos","events_url":"https://api.github.com/users/andromedado/events{/privacy}","received_events_url":"https://api.github.com/users/andromedado/received_events","type":"User","site_admin":false},"body":"Spotify responses are not hubot-http-client \"errors\", you have to look into the response to see if there's a problem.\r\nToday's 401 auth issue was caused by a well-formed 503 JSON response from Spotify - from which we pulled an `undefined` auth_token from.","created_at":"2017-11-30T19:58:35Z","updated_at":"2017-12-01T15:40:07Z","closed_at":"2017-12-01T15:40:07Z","merged_at":"2017-12-01T15:40:07Z","merge_commit_sha":"f8549201203169048cfb7fa9475af2ef496f1666","assignee":{"login":"cmckendry","id":1074380,"avatar_url":"https://avatars0.githubusercontent.com/u/1074380?v=4","gravatar_id":"","url":"https://api.github.com/users/cmckendry","html_url":"https://github.com/cmckendry","followers_url":"https://api.github.com/users/cmckendry/followers","following_url":"https://api.github.com/users/cmckendry/following{/other_user}","gists_url":"https://api.github.com/users/cmckendry/gists{/gist_id}","starred_url":"https://api.github.com/users/cmckendry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmckendry/subscriptions","organizations_url":"https://api.github.com/users/cmckendry/orgs","repos_url":"https://api.github.com/users/cmckendry/repos","events_url":"https://api.github.com/users/cmckendry/events{/privacy}","received_events_url":"https://api.github.com/users/cmckendry/received_events","type":"User","site_admin":false},"assignees":[{"login":"cmckendry","id":1074380,"avatar_url":"https://avatars0.githubusercontent.com/u/1074380?v=4","gravatar_id":"","url":"https://api.github.com/users/cmckendry","html_url":"https://github.com/cmckendry","followers_url":"https://api.github.com/users/cmckendry/followers","following_url":"https://api.github.com/users/cmckendry/following{/other_user}","gists_url":"https://api.github.com/users/cmckendry/gists{/gist_id}","starred_url":"https://api.github.com/users/cmckendry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmckendry/subscriptions","organizations_url":"https://api.github.com/users/cmckendry/orgs","repos_url":"https://api.github.com/users/cmckendry/repos","events_url":"https://api.github.com/users/cmckendry/events{/privacy}","received_events_url":"https://api.github.com/users/cmckendry/received_events","type":"User","site_admin":false},{"login":"lilianammmatos","id":5166809,"avatar_url":"https://avatars0.githubusercontent.com/u/5166809?v=4","gravatar_id":"","url":"https://api.github.com/users/lilianammmatos","html_url":"https://github.com/lilianammmatos","followers_url":"https://api.github.com/users/lilianammmatos/followers","following_url":"https://api.github.com/users/lilianammmatos/following{/other_user}","gists_url":"https://api.github.com/users/lilianammmatos/gists{/gist_id}","starred_url":"https://api.github.com/users/lilianammmatos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lilianammmatos/subscriptions","organizations_url":"https://api.github.com/users/lilianammmatos/orgs","repos_url":"https://api.github.com/users/lilianammmatos/repos","events_url":"https://api.github.com/users/lilianammmatos/events{/privacy}","received_events_url":"https://api.github.com/users/lilianammmatos/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"cmckendry","id":1074380,"avatar_url":"https://avatars0.githubusercontent.com/u/1074380?v=4","gravatar_id":"","url":"https://api.github.com/users/cmckendry","html_url":"https://github.com/cmckendry","followers_url":"https://api.github.com/users/cmckendry/followers","following_url":"https://api.github.com/users/cmckendry/following{/other_user}","gists_url":"https://api.github.com/users/cmckendry/gists{/gist_id}","starred_url":"https://api.github.com/users/cmckendry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmckendry/subscriptions","organizations_url":"https://api.github.com/users/cmckendry/orgs","repos_url":"https://api.github.com/users/cmckendry/repos","events_url":"https://api.github.com/users/cmckendry/events{/privacy}","received_events_url":"https://api.github.com/users/cmckendry/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/1stdibs/hubot-scripts/pulls/65/commits","review_comments_url":"https://api.github.com/repos/1stdibs/hubot-scripts/pulls/65/comments","review_comment_url":"https://api.github.com/repos/1stdibs/hubot-scripts/pulls/comments{/number}","comments_url":"https://api.github.com/repos/1stdibs/hubot-scripts/issues/65/comments","statuses_url":"https://api.github.com/repos/1stdibs/hubot-scripts/statuses/5510609f7911ba566e06930cd5c92781349d4e5d","head":{"label":"1stdibs:fix-reAuthEnhancements","ref":"fix-reAuthEnhancements","sha":"5510609f7911ba566e06930cd5c92781349d4e5d","user":{"login":"1stdibs","id":1521176,"avatar_url":"https://avatars3.githubusercontent.com/u/1521176?v=4","gravatar_id":"","url":"https://api.github.com/users/1stdibs","html_url":"https://github.com/1stdibs","followers_url":"https://api.github.com/users/1stdibs/followers","following_url":"https://api.github.com/users/1stdibs/following{/other_user}","gists_url":"https://api.github.com/users/1stdibs/gists{/gist_id}","starred_url":"https://api.github.com/users/1stdibs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1stdibs/subscriptions","organizations_url":"https://api.github.com/users/1stdibs/orgs","repos_url":"https://api.github.com/users/1stdibs/repos","events_url":"https://api.github.com/users/1stdibs/events{/privacy}","received_events_url":"https://api.github.com/users/1stdibs/received_events","type":"Organization","site_admin":false},"repo":{"id":10110472,"name":"hubot-scripts","full_name":"1stdibs/hubot-scripts","owner":{"login":"1stdibs","id":1521176,"avatar_url":"https://avatars3.githubusercontent.com/u/1521176?v=4","gravatar_id":"","url":"https://api.github.com/users/1stdibs","html_url":"https://github.com/1stdibs","followers_url":"https://api.github.com/users/1stdibs/followers","following_url":"https://api.github.com/users/1stdibs/following{/other_user}","gists_url":"https://api.github.com/users/1stdibs/gists{/gist_id}","starred_url":"https://api.github.com/users/1stdibs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1stdibs/subscriptions","organizations_url":"https://api.github.com/users/1stdibs/orgs","repos_url":"https://api.github.com/users/1stdibs/repos","events_url":"https://api.github.com/users/1stdibs/events{/privacy}","received_events_url":"https://api.github.com/users/1stdibs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/1stdibs/hubot-scripts","description":"optional scripts for hubot, opt in via hubot-scripts.json","fork":true,"url":"https://api.github.com/repos/1stdibs/hubot-scripts","forks_url":"https://api.github.com/repos/1stdibs/hubot-scripts/forks","keys_url":"https://api.github.com/repos/1stdibs/hubot-scripts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/1stdibs/hubot-scripts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/1stdibs/hubot-scripts/teams","hooks_url":"https://api.github.com/repos/1stdibs/hubot-scripts/hooks","issue_events_url":"https://api.github.com/repos/1stdibs/hubot-scripts/issues/events{/number}","events_url":"https://api.github.com/repos/1stdibs/hubot-scripts/events","assignees_url":"https://api.github.com/repos/1stdibs/hubot-scripts/assignees{/user}","branches_url":"https://api.github.com/repos/1stdibs/hubot-scripts/branches{/branch}","tags_url":"https://api.github.com/repos/1stdibs/hubot-scripts/tags","blobs_url":"https://api.github.com/repos/1stdibs/hubot-scripts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/1stdibs/hubot-scripts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/1stdibs/hubot-scripts/git/refs{/sha}","trees_url":"https://api.github.com/repos/1stdibs/hubot-scripts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/1stdibs/hubot-scripts/statuses/{sha}","languages_url":"https://api.github.com/repos/1stdibs/hubot-scripts/languages","stargazers_url":"https://api.github.com/repos/1stdibs/hubot-scripts/stargazers","contributors_url":"https://api.github.com/repos/1stdibs/hubot-scripts/contributors","subscribers_url":"https://api.github.com/repos/1stdibs/hubot-scripts/subscribers","subscription_url":"https://api.github.com/repos/1stdibs/hubot-scripts/subscription","commits_url":"https://api.github.com/repos/1stdibs/hubot-scripts/commits{/sha}","git_commits_url":"https://api.github.com/repos/1stdibs/hubot-scripts/git/commits{/sha}","comments_url":"https://api.github.com/repos/1stdibs/hubot-scripts/comments{/number}","issue_comment_url":"https://api.github.com/repos/1stdibs/hubot-scripts/issues/comments{/number}","contents_url":"https://api.github.com/repos/1stdibs/hubot-scripts/contents/{+path}","compare_url":"https://api.github.com/repos/1stdibs/hubot-scripts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/1stdibs/hubot-scripts/merges","archive_url":"https://api.github.com/repos/1stdibs/hubot-scripts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/1stdibs/hubot-scripts/downloads","issues_url":"https://api.github.com/repos/1stdibs/hubot-scripts/issues{/number}","pulls_url":"https://api.github.com/repos/1stdibs/hubot-scripts/pulls{/number}","milestones_url":"https://api.github.com/repos/1stdibs/hubot-scripts/milestones{/number}","notifications_url":"https://api.github.com/repos/1stdibs/hubot-scripts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/1stdibs/hubot-scripts/labels{/name}","releases_url":"https://api.github.com/repos/1stdibs/hubot-scripts/releases{/id}","deployments_url":"https://api.github.com/repos/1stdibs/hubot-scripts/deployments","created_at":"2013-05-16T21:02:34Z","updated_at":"2016-11-03T20:29:35Z","pushed_at":"2017-12-01T15:40:07Z","git_url":"git://github.com/1stdibs/hubot-scripts.git","ssh_url":"git@github.com:1stdibs/hubot-scripts.git","clone_url":"https://github.com/1stdibs/hubot-scripts.git","svn_url":"https://github.com/1stdibs/hubot-scripts","homepage":"","size":2229,"stargazers_count":2,"watchers_count":2,"language":"CoffeeScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":8,"open_issues":0,"watchers":2,"default_branch":"master"}},"base":{"label":"1stdibs:master","ref":"master","sha":"3214efded58dc442625ed7e95b69ca566334d729","user":{"login":"1stdibs","id":1521176,"avatar_url":"https://avatars3.githubusercontent.com/u/1521176?v=4","gravatar_id":"","url":"https://api.github.com/users/1stdibs","html_url":"https://github.com/1stdibs","followers_url":"https://api.github.com/users/1stdibs/followers","following_url":"https://api.github.com/users/1stdibs/following{/other_user}","gists_url":"https://api.github.com/users/1stdibs/gists{/gist_id}","starred_url":"https://api.github.com/users/1stdibs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1stdibs/subscriptions","organizations_url":"https://api.github.com/users/1stdibs/orgs","repos_url":"https://api.github.com/users/1stdibs/repos","events_url":"https://api.github.com/users/1stdibs/events{/privacy}","received_events_url":"https://api.github.com/users/1stdibs/received_events","type":"Organization","site_admin":false},"repo":{"id":10110472,"name":"hubot-scripts","full_name":"1stdibs/hubot-scripts","owner":{"login":"1stdibs","id":1521176,"avatar_url":"https://avatars3.githubusercontent.com/u/1521176?v=4","gravatar_id":"","url":"https://api.github.com/users/1stdibs","html_url":"https://github.com/1stdibs","followers_url":"https://api.github.com/users/1stdibs/followers","following_url":"https://api.github.com/users/1stdibs/following{/other_user}","gists_url":"https://api.github.com/users/1stdibs/gists{/gist_id}","starred_url":"https://api.github.com/users/1stdibs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1stdibs/subscriptions","organizations_url":"https://api.github.com/users/1stdibs/orgs","repos_url":"https://api.github.com/users/1stdibs/repos","events_url":"https://api.github.com/users/1stdibs/events{/privacy}","received_events_url":"https://api.github.com/users/1stdibs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/1stdibs/hubot-scripts","description":"optional scripts for hubot, opt in via hubot-scripts.json","fork":true,"url":"https://api.github.com/repos/1stdibs/hubot-scripts","forks_url":"https://api.github.com/repos/1stdibs/hubot-scripts/forks","keys_url":"https://api.github.com/repos/1stdibs/hubot-scripts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/1stdibs/hubot-scripts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/1stdibs/hubot-scripts/teams","hooks_url":"https://api.github.com/repos/1stdibs/hubot-scripts/hooks","issue_events_url":"https://api.github.com/repos/1stdibs/hubot-scripts/issues/events{/number}","events_url":"https://api.github.com/repos/1stdibs/hubot-scripts/events","assignees_url":"https://api.github.com/repos/1stdibs/hubot-scripts/assignees{/user}","branches_url":"https://api.github.com/repos/1stdibs/hubot-scripts/branches{/branch}","tags_url":"https://api.github.com/repos/1stdibs/hubot-scripts/tags","blobs_url":"https://api.github.com/repos/1stdibs/hubot-scripts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/1stdibs/hubot-scripts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/1stdibs/hubot-scripts/git/refs{/sha}","trees_url":"https://api.github.com/repos/1stdibs/hubot-scripts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/1stdibs/hubot-scripts/statuses/{sha}","languages_url":"https://api.github.com/repos/1stdibs/hubot-scripts/languages","stargazers_url":"https://api.github.com/repos/1stdibs/hubot-scripts/stargazers","contributors_url":"https://api.github.com/repos/1stdibs/hubot-scripts/contributors","subscribers_url":"https://api.github.com/repos/1stdibs/hubot-scripts/subscribers","subscription_url":"https://api.github.com/repos/1stdibs/hubot-scripts/subscription","commits_url":"https://api.github.com/repos/1stdibs/hubot-scripts/commits{/sha}","git_commits_url":"https://api.github.com/repos/1stdibs/hubot-scripts/git/commits{/sha}","comments_url":"https://api.github.com/repos/1stdibs/hubot-scripts/comments{/number}","issue_comment_url":"https://api.github.com/repos/1stdibs/hubot-scripts/issues/comments{/number}","contents_url":"https://api.github.com/repos/1stdibs/hubot-scripts/contents/{+path}","compare_url":"https://api.github.com/repos/1stdibs/hubot-scripts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/1stdibs/hubot-scripts/merges","archive_url":"https://api.github.com/repos/1stdibs/hubot-scripts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/1stdibs/hubot-scripts/downloads","issues_url":"https://api.github.com/repos/1stdibs/hubot-scripts/issues{/number}","pulls_url":"https://api.github.com/repos/1stdibs/hubot-scripts/pulls{/number}","milestones_url":"https://api.github.com/repos/1stdibs/hubot-scripts/milestones{/number}","notifications_url":"https://api.github.com/repos/1stdibs/hubot-scripts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/1stdibs/hubot-scripts/labels{/name}","releases_url":"https://api.github.com/repos/1stdibs/hubot-scripts/releases{/id}","deployments_url":"https://api.github.com/repos/1stdibs/hubot-scripts/deployments","created_at":"2013-05-16T21:02:34Z","updated_at":"2016-11-03T20:29:35Z","pushed_at":"2017-12-01T15:40:07Z","git_url":"git://github.com/1stdibs/hubot-scripts.git","ssh_url":"git@github.com:1stdibs/hubot-scripts.git","clone_url":"https://github.com/1stdibs/hubot-scripts.git","svn_url":"https://github.com/1stdibs/hubot-scripts","homepage":"","size":2229,"stargazers_count":2,"watchers_count":2,"language":"CoffeeScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":8,"open_issues":0,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/1stdibs/hubot-scripts/pulls/65"},"html":{"href":"https://github.com/1stdibs/hubot-scripts/pull/65"},"issue":{"href":"https://api.github.com/repos/1stdibs/hubot-scripts/issues/65"},"comments":{"href":"https://api.github.com/repos/1stdibs/hubot-scripts/issues/65/comments"},"review_comments":{"href":"https://api.github.com/repos/1stdibs/hubot-scripts/pulls/65/comments"},"review_comment":{"href":"https://api.github.com/repos/1stdibs/hubot-scripts/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/1stdibs/hubot-scripts/pulls/65/commits"},"statuses":{"href":"https://api.github.com/repos/1stdibs/hubot-scripts/statuses/5510609f7911ba566e06930cd5c92781349d4e5d"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"lilianammmatos","id":5166809,"avatar_url":"https://avatars0.githubusercontent.com/u/5166809?v=4","gravatar_id":"","url":"https://api.github.com/users/lilianammmatos","html_url":"https://github.com/lilianammmatos","followers_url":"https://api.github.com/users/lilianammmatos/followers","following_url":"https://api.github.com/users/lilianammmatos/following{/other_user}","gists_url":"https://api.github.com/users/lilianammmatos/gists{/gist_id}","starred_url":"https://api.github.com/users/lilianammmatos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lilianammmatos/subscriptions","organizations_url":"https://api.github.com/users/lilianammmatos/orgs","repos_url":"https://api.github.com/users/lilianammmatos/repos","events_url":"https://api.github.com/users/lilianammmatos/events{/privacy}","received_events_url":"https://api.github.com/users/lilianammmatos/received_events","type":"User","site_admin":false},"comments":0,"review_comments":1,"maintainer_can_modify":false,"commits":2,"additions":42,"deletions":12,"changed_files":1}}
{"actor":{"display_login":"lilianammmatos"}}