{"action":"created","comment":{"url":"https://api.github.com/repos/SparkPost/2web2ui/pulls/comments/180226176","pull_request_review_id":110611810,"id":180226176,"diff_hunk":"@@ -54,7 +56,11 @@ export class ChangePlan extends Component {\n \n     return action\n       .then(() => history.push('/account/billing'))\n-      .then(() => showAlert({ type: 'success', message: 'Subscription Updated' }));\n+      .then((res) => {\n+        if (!(res instanceof Error)) {","path":"src/pages/billing/forms/ChangePlan.js","position":17,"original_position":17,"commit_id":"51ce6957230a96f64e182d0b295c568a627ea10a","original_commit_id":"763cf7c0e9f50585627a274acd9bf66d9db46a65","user":{"login":"gwalls","id":8743712,"avatar_url":"https://avatars3.githubusercontent.com/u/8743712?v=4","gravatar_id":"","url":"https://api.github.com/users/gwalls","html_url":"https://github.com/gwalls","followers_url":"https://api.github.com/users/gwalls/followers","following_url":"https://api.github.com/users/gwalls/following{/other_user}","gists_url":"https://api.github.com/users/gwalls/gists{/gist_id}","starred_url":"https://api.github.com/users/gwalls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gwalls/subscriptions","organizations_url":"https://api.github.com/users/gwalls/orgs","repos_url":"https://api.github.com/users/gwalls/repos","events_url":"https://api.github.com/users/gwalls/events{/privacy}","received_events_url":"https://api.github.com/users/gwalls/received_events","type":"User","site_admin":false},"body":"Nope. I'm still throwing error at this point, so I can revert this.","created_at":"2018-04-09T20:50:17Z","updated_at":"2018-04-09T20:50:18Z","html_url":"https://github.com/SparkPost/2web2ui/pull/384#discussion_r180226176","pull_request_url":"https://api.github.com/repos/SparkPost/2web2ui/pulls/384","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/SparkPost/2web2ui/pulls/comments/180226176"},"html":{"href":"https://github.com/SparkPost/2web2ui/pull/384#discussion_r180226176"},"pull_request":{"href":"https://api.github.com/repos/SparkPost/2web2ui/pulls/384"}},"in_reply_to_id":180142663},"pull_request":{"url":"https://api.github.com/repos/SparkPost/2web2ui/pulls/384","id":178577411,"html_url":"https://github.com/SparkPost/2web2ui/pull/384","diff_url":"https://github.com/SparkPost/2web2ui/pull/384.diff","patch_url":"https://github.com/SparkPost/2web2ui/pull/384.patch","issue_url":"https://api.github.com/repos/SparkPost/2web2ui/issues/384","number":384,"state":"open","locked":false,"title":"FAD-6309 implemented action onSuccess callback for billing update; ch…","user":{"login":"gwalls","id":8743712,"avatar_url":"https://avatars3.githubusercontent.com/u/8743712?v=4","gravatar_id":"","url":"https://api.github.com/users/gwalls","html_url":"https://github.com/gwalls","followers_url":"https://api.github.com/users/gwalls/followers","following_url":"https://api.github.com/users/gwalls/following{/other_user}","gists_url":"https://api.github.com/users/gwalls/gists{/gist_id}","starred_url":"https://api.github.com/users/gwalls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gwalls/subscriptions","organizations_url":"https://api.github.com/users/gwalls/orgs","repos_url":"https://api.github.com/users/gwalls/repos","events_url":"https://api.github.com/users/gwalls/events{/privacy}","received_events_url":"https://api.github.com/users/gwalls/received_events","type":"User","site_admin":false},"body":"…anged SparkpostApiError to be class","created_at":"2018-03-30T15:07:33Z","updated_at":"2018-04-09T20:50:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0aeed291c1128382eee92944ec224a4ab1a4b2ce","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/SparkPost/2web2ui/pulls/384/commits","review_comments_url":"https://api.github.com/repos/SparkPost/2web2ui/pulls/384/comments","review_comment_url":"https://api.github.com/repos/SparkPost/2web2ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SparkPost/2web2ui/issues/384/comments","statuses_url":"https://api.github.com/repos/SparkPost/2web2ui/statuses/51ce6957230a96f64e182d0b295c568a627ea10a","head":{"label":"SparkPost:feature/FAD-6309","ref":"feature/FAD-6309","sha":"51ce6957230a96f64e182d0b295c568a627ea10a","user":{"login":"SparkPost","id":9406778,"avatar_url":"https://avatars0.githubusercontent.com/u/9406778?v=4","gravatar_id":"","url":"https://api.github.com/users/SparkPost","html_url":"https://github.com/SparkPost","followers_url":"https://api.github.com/users/SparkPost/followers","following_url":"https://api.github.com/users/SparkPost/following{/other_user}","gists_url":"https://api.github.com/users/SparkPost/gists{/gist_id}","starred_url":"https://api.github.com/users/SparkPost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SparkPost/subscriptions","organizations_url":"https://api.github.com/users/SparkPost/orgs","repos_url":"https://api.github.com/users/SparkPost/repos","events_url":"https://api.github.com/users/SparkPost/events{/privacy}","received_events_url":"https://api.github.com/users/SparkPost/received_events","type":"Organization","site_admin":false},"repo":{"id":91982173,"name":"2web2ui","full_name":"SparkPost/2web2ui","owner":{"login":"SparkPost","id":9406778,"avatar_url":"https://avatars0.githubusercontent.com/u/9406778?v=4","gravatar_id":"","url":"https://api.github.com/users/SparkPost","html_url":"https://github.com/SparkPost","followers_url":"https://api.github.com/users/SparkPost/followers","following_url":"https://api.github.com/users/SparkPost/following{/other_user}","gists_url":"https://api.github.com/users/SparkPost/gists{/gist_id}","starred_url":"https://api.github.com/users/SparkPost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SparkPost/subscriptions","organizations_url":"https://api.github.com/users/SparkPost/orgs","repos_url":"https://api.github.com/users/SparkPost/repos","events_url":"https://api.github.com/users/SparkPost/events{/privacy}","received_events_url":"https://api.github.com/users/SparkPost/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SparkPost/2web2ui","description":null,"fork":false,"url":"https://api.github.com/repos/SparkPost/2web2ui","forks_url":"https://api.github.com/repos/SparkPost/2web2ui/forks","keys_url":"https://api.github.com/repos/SparkPost/2web2ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SparkPost/2web2ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SparkPost/2web2ui/teams","hooks_url":"https://api.github.com/repos/SparkPost/2web2ui/hooks","issue_events_url":"https://api.github.com/repos/SparkPost/2web2ui/issues/events{/number}","events_url":"https://api.github.com/repos/SparkPost/2web2ui/events","assignees_url":"https://api.github.com/repos/SparkPost/2web2ui/assignees{/user}","branches_url":"https://api.github.com/repos/SparkPost/2web2ui/branches{/branch}","tags_url":"https://api.github.com/repos/SparkPost/2web2ui/tags","blobs_url":"https://api.github.com/repos/SparkPost/2web2ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SparkPost/2web2ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SparkPost/2web2ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/SparkPost/2web2ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SparkPost/2web2ui/statuses/{sha}","languages_url":"https://api.github.com/repos/SparkPost/2web2ui/languages","stargazers_url":"https://api.github.com/repos/SparkPost/2web2ui/stargazers","contributors_url":"https://api.github.com/repos/SparkPost/2web2ui/contributors","subscribers_url":"https://api.github.com/repos/SparkPost/2web2ui/subscribers","subscription_url":"https://api.github.com/repos/SparkPost/2web2ui/subscription","commits_url":"https://api.github.com/repos/SparkPost/2web2ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/SparkPost/2web2ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/SparkPost/2web2ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/SparkPost/2web2ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/SparkPost/2web2ui/contents/{+path}","compare_url":"https://api.github.com/repos/SparkPost/2web2ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SparkPost/2web2ui/merges","archive_url":"https://api.github.com/repos/SparkPost/2web2ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SparkPost/2web2ui/downloads","issues_url":"https://api.github.com/repos/SparkPost/2web2ui/issues{/number}","pulls_url":"https://api.github.com/repos/SparkPost/2web2ui/pulls{/number}","milestones_url":"https://api.github.com/repos/SparkPost/2web2ui/milestones{/number}","notifications_url":"https://api.github.com/repos/SparkPost/2web2ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SparkPost/2web2ui/labels{/name}","releases_url":"https://api.github.com/repos/SparkPost/2web2ui/releases{/id}","deployments_url":"https://api.github.com/repos/SparkPost/2web2ui/deployments","created_at":"2017-05-21T19:31:03Z","updated_at":"2018-04-09T18:49:14Z","pushed_at":"2018-04-09T20:50:18Z","git_url":"git://github.com/SparkPost/2web2ui.git","ssh_url":"git@github.com:SparkPost/2web2ui.git","clone_url":"https://github.com/SparkPost/2web2ui.git","svn_url":"https://github.com/SparkPost/2web2ui","homepage":null,"size":18699,"stargazers_count":8,"watchers_count":8,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":38,"license":null,"forks":1,"open_issues":38,"watchers":8,"default_branch":"master"}},"base":{"label":"SparkPost:develop","ref":"develop","sha":"7f6f5ccb1184705a711497874830b5515c22190f","user":{"login":"SparkPost","id":9406778,"avatar_url":"https://avatars0.githubusercontent.com/u/9406778?v=4","gravatar_id":"","url":"https://api.github.com/users/SparkPost","html_url":"https://github.com/SparkPost","followers_url":"https://api.github.com/users/SparkPost/followers","following_url":"https://api.github.com/users/SparkPost/following{/other_user}","gists_url":"https://api.github.com/users/SparkPost/gists{/gist_id}","starred_url":"https://api.github.com/users/SparkPost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SparkPost/subscriptions","organizations_url":"https://api.github.com/users/SparkPost/orgs","repos_url":"https://api.github.com/users/SparkPost/repos","events_url":"https://api.github.com/users/SparkPost/events{/privacy}","received_events_url":"https://api.github.com/users/SparkPost/received_events","type":"Organization","site_admin":false},"repo":{"id":91982173,"name":"2web2ui","full_name":"SparkPost/2web2ui","owner":{"login":"SparkPost","id":9406778,"avatar_url":"https://avatars0.githubusercontent.com/u/9406778?v=4","gravatar_id":"","url":"https://api.github.com/users/SparkPost","html_url":"https://github.com/SparkPost","followers_url":"https://api.github.com/users/SparkPost/followers","following_url":"https://api.github.com/users/SparkPost/following{/other_user}","gists_url":"https://api.github.com/users/SparkPost/gists{/gist_id}","starred_url":"https://api.github.com/users/SparkPost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SparkPost/subscriptions","organizations_url":"https://api.github.com/users/SparkPost/orgs","repos_url":"https://api.github.com/users/SparkPost/repos","events_url":"https://api.github.com/users/SparkPost/events{/privacy}","received_events_url":"https://api.github.com/users/SparkPost/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SparkPost/2web2ui","description":null,"fork":false,"url":"https://api.github.com/repos/SparkPost/2web2ui","forks_url":"https://api.github.com/repos/SparkPost/2web2ui/forks","keys_url":"https://api.github.com/repos/SparkPost/2web2ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SparkPost/2web2ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SparkPost/2web2ui/teams","hooks_url":"https://api.github.com/repos/SparkPost/2web2ui/hooks","issue_events_url":"https://api.github.com/repos/SparkPost/2web2ui/issues/events{/number}","events_url":"https://api.github.com/repos/SparkPost/2web2ui/events","assignees_url":"https://api.github.com/repos/SparkPost/2web2ui/assignees{/user}","branches_url":"https://api.github.com/repos/SparkPost/2web2ui/branches{/branch}","tags_url":"https://api.github.com/repos/SparkPost/2web2ui/tags","blobs_url":"https://api.github.com/repos/SparkPost/2web2ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SparkPost/2web2ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SparkPost/2web2ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/SparkPost/2web2ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SparkPost/2web2ui/statuses/{sha}","languages_url":"https://api.github.com/repos/SparkPost/2web2ui/languages","stargazers_url":"https://api.github.com/repos/SparkPost/2web2ui/stargazers","contributors_url":"https://api.github.com/repos/SparkPost/2web2ui/contributors","subscribers_url":"https://api.github.com/repos/SparkPost/2web2ui/subscribers","subscription_url":"https://api.github.com/repos/SparkPost/2web2ui/subscription","commits_url":"https://api.github.com/repos/SparkPost/2web2ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/SparkPost/2web2ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/SparkPost/2web2ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/SparkPost/2web2ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/SparkPost/2web2ui/contents/{+path}","compare_url":"https://api.github.com/repos/SparkPost/2web2ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SparkPost/2web2ui/merges","archive_url":"https://api.github.com/repos/SparkPost/2web2ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SparkPost/2web2ui/downloads","issues_url":"https://api.github.com/repos/SparkPost/2web2ui/issues{/number}","pulls_url":"https://api.github.com/repos/SparkPost/2web2ui/pulls{/number}","milestones_url":"https://api.github.com/repos/SparkPost/2web2ui/milestones{/number}","notifications_url":"https://api.github.com/repos/SparkPost/2web2ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SparkPost/2web2ui/labels{/name}","releases_url":"https://api.github.com/repos/SparkPost/2web2ui/releases{/id}","deployments_url":"https://api.github.com/repos/SparkPost/2web2ui/deployments","created_at":"2017-05-21T19:31:03Z","updated_at":"2018-04-09T18:49:14Z","pushed_at":"2018-04-09T20:50:18Z","git_url":"git://github.com/SparkPost/2web2ui.git","ssh_url":"git@github.com:SparkPost/2web2ui.git","clone_url":"https://github.com/SparkPost/2web2ui.git","svn_url":"https://github.com/SparkPost/2web2ui","homepage":null,"size":18699,"stargazers_count":8,"watchers_count":8,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":38,"license":null,"forks":1,"open_issues":38,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SparkPost/2web2ui/pulls/384"},"html":{"href":"https://github.com/SparkPost/2web2ui/pull/384"},"issue":{"href":"https://api.github.com/repos/SparkPost/2web2ui/issues/384"},"comments":{"href":"https://api.github.com/repos/SparkPost/2web2ui/issues/384/comments"},"review_comments":{"href":"https://api.github.com/repos/SparkPost/2web2ui/pulls/384/comments"},"review_comment":{"href":"https://api.github.com/repos/SparkPost/2web2ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SparkPost/2web2ui/pulls/384/commits"},"statuses":{"href":"https://api.github.com/repos/SparkPost/2web2ui/statuses/51ce6957230a96f64e182d0b295c568a627ea10a"}},"author_association":"NONE"}}
{"actor":{"display_login":"gwalls"}}