{"action":"closed","number":85,"pull_request":{"url":"https://api.github.com/repos/vtex-apps/credit-control/pulls/85","id":190352022,"html_url":"https://github.com/vtex-apps/credit-control/pull/85","diff_url":"https://github.com/vtex-apps/credit-control/pull/85.diff","patch_url":"https://github.com/vtex-apps/credit-control/pull/85.patch","issue_url":"https://api.github.com/repos/vtex-apps/credit-control/issues/85","number":85,"state":"closed","locked":false,"title":"Update accounts fetching","user":{"login":"kevinch","id":2573602,"avatar_url":"https://avatars2.githubusercontent.com/u/2573602?v=4","gravatar_id":"","url":"https://api.github.com/users/kevinch","html_url":"https://github.com/kevinch","followers_url":"https://api.github.com/users/kevinch/followers","following_url":"https://api.github.com/users/kevinch/following{/other_user}","gists_url":"https://api.github.com/users/kevinch/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinch/subscriptions","organizations_url":"https://api.github.com/users/kevinch/orgs","repos_url":"https://api.github.com/users/kevinch/repos","events_url":"https://api.github.com/users/kevinch/events{/privacy}","received_events_url":"https://api.github.com/users/kevinch/received_events","type":"User","site_admin":false},"body":"#### What is the purpose of this pull request?\r\nFix multiple requests of accounts on page load. New structure like invoices.\r\n\r\n#### Types of changes\r\n- [x] Bug fix (non-breaking change which fixes an issue)\r\n- [ ] New feature (non-breaking change which adds functionality)\r\n- [ ] Breaking change (fix or feature that would cause existing functionality to change)\r\n- [ ] Requires change to documentation, which has been updated accordingly.\r\n","created_at":"2018-05-24T16:39:18Z","updated_at":"2018-05-25T18:30:09Z","closed_at":"2018-05-25T18:30:09Z","merged_at":"2018-05-25T18:30:09Z","merge_commit_sha":"0be92c318414fbc5615b37dc4cf4b4143b3aeb5b","assignee":{"login":"kevinch","id":2573602,"avatar_url":"https://avatars2.githubusercontent.com/u/2573602?v=4","gravatar_id":"","url":"https://api.github.com/users/kevinch","html_url":"https://github.com/kevinch","followers_url":"https://api.github.com/users/kevinch/followers","following_url":"https://api.github.com/users/kevinch/following{/other_user}","gists_url":"https://api.github.com/users/kevinch/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinch/subscriptions","organizations_url":"https://api.github.com/users/kevinch/orgs","repos_url":"https://api.github.com/users/kevinch/repos","events_url":"https://api.github.com/users/kevinch/events{/privacy}","received_events_url":"https://api.github.com/users/kevinch/received_events","type":"User","site_admin":false},"assignees":[{"login":"kevinch","id":2573602,"avatar_url":"https://avatars2.githubusercontent.com/u/2573602?v=4","gravatar_id":"","url":"https://api.github.com/users/kevinch","html_url":"https://github.com/kevinch","followers_url":"https://api.github.com/users/kevinch/followers","following_url":"https://api.github.com/users/kevinch/following{/other_user}","gists_url":"https://api.github.com/users/kevinch/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinch/subscriptions","organizations_url":"https://api.github.com/users/kevinch/orgs","repos_url":"https://api.github.com/users/kevinch/repos","events_url":"https://api.github.com/users/kevinch/events{/privacy}","received_events_url":"https://api.github.com/users/kevinch/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/vtex-apps/credit-control/pulls/85/commits","review_comments_url":"https://api.github.com/repos/vtex-apps/credit-control/pulls/85/comments","review_comment_url":"https://api.github.com/repos/vtex-apps/credit-control/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vtex-apps/credit-control/issues/85/comments","statuses_url":"https://api.github.com/repos/vtex-apps/credit-control/statuses/97d2b77265e38d4eb00b7fe0560be38c1a7c1d80","head":{"label":"vtex-apps:fix/accounts-fetching","ref":"fix/accounts-fetching","sha":"97d2b77265e38d4eb00b7fe0560be38c1a7c1d80","user":{"login":"vtex-apps","id":12614072,"avatar_url":"https://avatars0.githubusercontent.com/u/12614072?v=4","gravatar_id":"","url":"https://api.github.com/users/vtex-apps","html_url":"https://github.com/vtex-apps","followers_url":"https://api.github.com/users/vtex-apps/followers","following_url":"https://api.github.com/users/vtex-apps/following{/other_user}","gists_url":"https://api.github.com/users/vtex-apps/gists{/gist_id}","starred_url":"https://api.github.com/users/vtex-apps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vtex-apps/subscriptions","organizations_url":"https://api.github.com/users/vtex-apps/orgs","repos_url":"https://api.github.com/users/vtex-apps/repos","events_url":"https://api.github.com/users/vtex-apps/events{/privacy}","received_events_url":"https://api.github.com/users/vtex-apps/received_events","type":"Organization","site_admin":false},"repo":{"id":125414061,"name":"credit-control","full_name":"vtex-apps/credit-control","owner":{"login":"vtex-apps","id":12614072,"avatar_url":"https://avatars0.githubusercontent.com/u/12614072?v=4","gravatar_id":"","url":"https://api.github.com/users/vtex-apps","html_url":"https://github.com/vtex-apps","followers_url":"https://api.github.com/users/vtex-apps/followers","following_url":"https://api.github.com/users/vtex-apps/following{/other_user}","gists_url":"https://api.github.com/users/vtex-apps/gists{/gist_id}","starred_url":"https://api.github.com/users/vtex-apps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vtex-apps/subscriptions","organizations_url":"https://api.github.com/users/vtex-apps/orgs","repos_url":"https://api.github.com/users/vtex-apps/repos","events_url":"https://api.github.com/users/vtex-apps/events{/privacy}","received_events_url":"https://api.github.com/users/vtex-apps/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vtex-apps/credit-control","description":"The Credit Control for your VTEX admin","fork":false,"url":"https://api.github.com/repos/vtex-apps/credit-control","forks_url":"https://api.github.com/repos/vtex-apps/credit-control/forks","keys_url":"https://api.github.com/repos/vtex-apps/credit-control/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vtex-apps/credit-control/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vtex-apps/credit-control/teams","hooks_url":"https://api.github.com/repos/vtex-apps/credit-control/hooks","issue_events_url":"https://api.github.com/repos/vtex-apps/credit-control/issues/events{/number}","events_url":"https://api.github.com/repos/vtex-apps/credit-control/events","assignees_url":"https://api.github.com/repos/vtex-apps/credit-control/assignees{/user}","branches_url":"https://api.github.com/repos/vtex-apps/credit-control/branches{/branch}","tags_url":"https://api.github.com/repos/vtex-apps/credit-control/tags","blobs_url":"https://api.github.com/repos/vtex-apps/credit-control/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vtex-apps/credit-control/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vtex-apps/credit-control/git/refs{/sha}","trees_url":"https://api.github.com/repos/vtex-apps/credit-control/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vtex-apps/credit-control/statuses/{sha}","languages_url":"https://api.github.com/repos/vtex-apps/credit-control/languages","stargazers_url":"https://api.github.com/repos/vtex-apps/credit-control/stargazers","contributors_url":"https://api.github.com/repos/vtex-apps/credit-control/contributors","subscribers_url":"https://api.github.com/repos/vtex-apps/credit-control/subscribers","subscription_url":"https://api.github.com/repos/vtex-apps/credit-control/subscription","commits_url":"https://api.github.com/repos/vtex-apps/credit-control/commits{/sha}","git_commits_url":"https://api.github.com/repos/vtex-apps/credit-control/git/commits{/sha}","comments_url":"https://api.github.com/repos/vtex-apps/credit-control/comments{/number}","issue_comment_url":"https://api.github.com/repos/vtex-apps/credit-control/issues/comments{/number}","contents_url":"https://api.github.com/repos/vtex-apps/credit-control/contents/{+path}","compare_url":"https://api.github.com/repos/vtex-apps/credit-control/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vtex-apps/credit-control/merges","archive_url":"https://api.github.com/repos/vtex-apps/credit-control/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vtex-apps/credit-control/downloads","issues_url":"https://api.github.com/repos/vtex-apps/credit-control/issues{/number}","pulls_url":"https://api.github.com/repos/vtex-apps/credit-control/pulls{/number}","milestones_url":"https://api.github.com/repos/vtex-apps/credit-control/milestones{/number}","notifications_url":"https://api.github.com/repos/vtex-apps/credit-control/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vtex-apps/credit-control/labels{/name}","releases_url":"https://api.github.com/repos/vtex-apps/credit-control/releases{/id}","deployments_url":"https://api.github.com/repos/vtex-apps/credit-control/deployments","created_at":"2018-03-15T19:04:12Z","updated_at":"2018-05-25T18:24:01Z","pushed_at":"2018-05-25T18:30:09Z","git_url":"git://github.com/vtex-apps/credit-control.git","ssh_url":"git@github.com:vtex-apps/credit-control.git","clone_url":"https://github.com/vtex-apps/credit-control.git","svn_url":"https://github.com/vtex-apps/credit-control","homepage":null,"size":553,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":8,"license":null,"forks":0,"open_issues":8,"watchers":0,"default_branch":"master"}},"base":{"label":"vtex-apps:master","ref":"master","sha":"4132447d12589604ead7669f3bd31c92d1203b60","user":{"login":"vtex-apps","id":12614072,"avatar_url":"https://avatars0.githubusercontent.com/u/12614072?v=4","gravatar_id":"","url":"https://api.github.com/users/vtex-apps","html_url":"https://github.com/vtex-apps","followers_url":"https://api.github.com/users/vtex-apps/followers","following_url":"https://api.github.com/users/vtex-apps/following{/other_user}","gists_url":"https://api.github.com/users/vtex-apps/gists{/gist_id}","starred_url":"https://api.github.com/users/vtex-apps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vtex-apps/subscriptions","organizations_url":"https://api.github.com/users/vtex-apps/orgs","repos_url":"https://api.github.com/users/vtex-apps/repos","events_url":"https://api.github.com/users/vtex-apps/events{/privacy}","received_events_url":"https://api.github.com/users/vtex-apps/received_events","type":"Organization","site_admin":false},"repo":{"id":125414061,"name":"credit-control","full_name":"vtex-apps/credit-control","owner":{"login":"vtex-apps","id":12614072,"avatar_url":"https://avatars0.githubusercontent.com/u/12614072?v=4","gravatar_id":"","url":"https://api.github.com/users/vtex-apps","html_url":"https://github.com/vtex-apps","followers_url":"https://api.github.com/users/vtex-apps/followers","following_url":"https://api.github.com/users/vtex-apps/following{/other_user}","gists_url":"https://api.github.com/users/vtex-apps/gists{/gist_id}","starred_url":"https://api.github.com/users/vtex-apps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vtex-apps/subscriptions","organizations_url":"https://api.github.com/users/vtex-apps/orgs","repos_url":"https://api.github.com/users/vtex-apps/repos","events_url":"https://api.github.com/users/vtex-apps/events{/privacy}","received_events_url":"https://api.github.com/users/vtex-apps/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vtex-apps/credit-control","description":"The Credit Control for your VTEX admin","fork":false,"url":"https://api.github.com/repos/vtex-apps/credit-control","forks_url":"https://api.github.com/repos/vtex-apps/credit-control/forks","keys_url":"https://api.github.com/repos/vtex-apps/credit-control/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vtex-apps/credit-control/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vtex-apps/credit-control/teams","hooks_url":"https://api.github.com/repos/vtex-apps/credit-control/hooks","issue_events_url":"https://api.github.com/repos/vtex-apps/credit-control/issues/events{/number}","events_url":"https://api.github.com/repos/vtex-apps/credit-control/events","assignees_url":"https://api.github.com/repos/vtex-apps/credit-control/assignees{/user}","branches_url":"https://api.github.com/repos/vtex-apps/credit-control/branches{/branch}","tags_url":"https://api.github.com/repos/vtex-apps/credit-control/tags","blobs_url":"https://api.github.com/repos/vtex-apps/credit-control/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vtex-apps/credit-control/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vtex-apps/credit-control/git/refs{/sha}","trees_url":"https://api.github.com/repos/vtex-apps/credit-control/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vtex-apps/credit-control/statuses/{sha}","languages_url":"https://api.github.com/repos/vtex-apps/credit-control/languages","stargazers_url":"https://api.github.com/repos/vtex-apps/credit-control/stargazers","contributors_url":"https://api.github.com/repos/vtex-apps/credit-control/contributors","subscribers_url":"https://api.github.com/repos/vtex-apps/credit-control/subscribers","subscription_url":"https://api.github.com/repos/vtex-apps/credit-control/subscription","commits_url":"https://api.github.com/repos/vtex-apps/credit-control/commits{/sha}","git_commits_url":"https://api.github.com/repos/vtex-apps/credit-control/git/commits{/sha}","comments_url":"https://api.github.com/repos/vtex-apps/credit-control/comments{/number}","issue_comment_url":"https://api.github.com/repos/vtex-apps/credit-control/issues/comments{/number}","contents_url":"https://api.github.com/repos/vtex-apps/credit-control/contents/{+path}","compare_url":"https://api.github.com/repos/vtex-apps/credit-control/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vtex-apps/credit-control/merges","archive_url":"https://api.github.com/repos/vtex-apps/credit-control/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vtex-apps/credit-control/downloads","issues_url":"https://api.github.com/repos/vtex-apps/credit-control/issues{/number}","pulls_url":"https://api.github.com/repos/vtex-apps/credit-control/pulls{/number}","milestones_url":"https://api.github.com/repos/vtex-apps/credit-control/milestones{/number}","notifications_url":"https://api.github.com/repos/vtex-apps/credit-control/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vtex-apps/credit-control/labels{/name}","releases_url":"https://api.github.com/repos/vtex-apps/credit-control/releases{/id}","deployments_url":"https://api.github.com/repos/vtex-apps/credit-control/deployments","created_at":"2018-03-15T19:04:12Z","updated_at":"2018-05-25T18:24:01Z","pushed_at":"2018-05-25T18:30:09Z","git_url":"git://github.com/vtex-apps/credit-control.git","ssh_url":"git@github.com:vtex-apps/credit-control.git","clone_url":"https://github.com/vtex-apps/credit-control.git","svn_url":"https://github.com/vtex-apps/credit-control","homepage":null,"size":553,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":8,"license":null,"forks":0,"open_issues":8,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vtex-apps/credit-control/pulls/85"},"html":{"href":"https://github.com/vtex-apps/credit-control/pull/85"},"issue":{"href":"https://api.github.com/repos/vtex-apps/credit-control/issues/85"},"comments":{"href":"https://api.github.com/repos/vtex-apps/credit-control/issues/85/comments"},"review_comments":{"href":"https://api.github.com/repos/vtex-apps/credit-control/pulls/85/comments"},"review_comment":{"href":"https://api.github.com/repos/vtex-apps/credit-control/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vtex-apps/credit-control/pulls/85/commits"},"statuses":{"href":"https://api.github.com/repos/vtex-apps/credit-control/statuses/97d2b77265e38d4eb00b7fe0560be38c1a7c1d80"}},"author_association":"COLLABORATOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"kevinch","id":2573602,"avatar_url":"https://avatars2.githubusercontent.com/u/2573602?v=4","gravatar_id":"","url":"https://api.github.com/users/kevinch","html_url":"https://github.com/kevinch","followers_url":"https://api.github.com/users/kevinch/followers","following_url":"https://api.github.com/users/kevinch/following{/other_user}","gists_url":"https://api.github.com/users/kevinch/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinch/subscriptions","organizations_url":"https://api.github.com/users/kevinch/orgs","repos_url":"https://api.github.com/users/kevinch/repos","events_url":"https://api.github.com/users/kevinch/events{/privacy}","received_events_url":"https://api.github.com/users/kevinch/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":6092,"deletions":704,"changed_files":5}}
{"actor":{"display_login":"kevinch"}}