{"action":"opened","number":866,"pull_request":{"url":"https://api.github.com/repos/reddit/reddit-mobile/pulls/866","id":91698556,"html_url":"https://github.com/reddit/reddit-mobile/pull/866","diff_url":"https://github.com/reddit/reddit-mobile/pull/866.diff","patch_url":"https://github.com/reddit/reddit-mobile/pull/866.patch","issue_url":"https://api.github.com/repos/reddit/reddit-mobile/issues/866","number":866,"state":"open","locked":false,"title":"Correct types on the error toaster","user":{"login":"phil303","id":787203,"avatar_url":"https://avatars.githubusercontent.com/u/787203?v=3","gravatar_id":"","url":"https://api.github.com/users/phil303","html_url":"https://github.com/phil303","followers_url":"https://api.github.com/users/phil303/followers","following_url":"https://api.github.com/users/phil303/following{/other_user}","gists_url":"https://api.github.com/users/phil303/gists{/gist_id}","starred_url":"https://api.github.com/users/phil303/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phil303/subscriptions","organizations_url":"https://api.github.com/users/phil303/orgs","repos_url":"https://api.github.com/users/phil303/repos","events_url":"https://api.github.com/users/phil303/events{/privacy}","received_events_url":"https://api.github.com/users/phil303/received_events","type":"User","site_admin":false},"body":"Bug:\r\nThis copy was hardcoded to just 'comment' but the action applies to both\r\ncomments and posts. When something went wrong on a post upvote we'd show\r\n\"failed to upvote the comment\", which makes no sense.\r\n\r\nFix:\r\nUse the `type` (which is either 'post' or 'comment') in the copy.\r\n\r\n:eyeglasses: @uzi ","created_at":"2016-10-31T21:57:09Z","updated_at":"2016-10-31T21:57:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/reddit/reddit-mobile/pulls/866/commits","review_comments_url":"https://api.github.com/repos/reddit/reddit-mobile/pulls/866/comments","review_comment_url":"https://api.github.com/repos/reddit/reddit-mobile/pulls/comments{/number}","comments_url":"https://api.github.com/repos/reddit/reddit-mobile/issues/866/comments","statuses_url":"https://api.github.com/repos/reddit/reddit-mobile/statuses/73a4523fc9bd0353a6e44193e356dd7541f8bdea","head":{"label":"phil303:fix-error-copy","ref":"fix-error-copy","sha":"73a4523fc9bd0353a6e44193e356dd7541f8bdea","user":{"login":"phil303","id":787203,"avatar_url":"https://avatars.githubusercontent.com/u/787203?v=3","gravatar_id":"","url":"https://api.github.com/users/phil303","html_url":"https://github.com/phil303","followers_url":"https://api.github.com/users/phil303/followers","following_url":"https://api.github.com/users/phil303/following{/other_user}","gists_url":"https://api.github.com/users/phil303/gists{/gist_id}","starred_url":"https://api.github.com/users/phil303/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phil303/subscriptions","organizations_url":"https://api.github.com/users/phil303/orgs","repos_url":"https://api.github.com/users/phil303/repos","events_url":"https://api.github.com/users/phil303/events{/privacy}","received_events_url":"https://api.github.com/users/phil303/received_events","type":"User","site_admin":false},"repo":{"id":59247570,"name":"reddit-mobile","full_name":"phil303/reddit-mobile","owner":{"login":"phil303","id":787203,"avatar_url":"https://avatars.githubusercontent.com/u/787203?v=3","gravatar_id":"","url":"https://api.github.com/users/phil303","html_url":"https://github.com/phil303","followers_url":"https://api.github.com/users/phil303/followers","following_url":"https://api.github.com/users/phil303/following{/other_user}","gists_url":"https://api.github.com/users/phil303/gists{/gist_id}","starred_url":"https://api.github.com/users/phil303/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phil303/subscriptions","organizations_url":"https://api.github.com/users/phil303/orgs","repos_url":"https://api.github.com/users/phil303/repos","events_url":"https://api.github.com/users/phil303/events{/privacy}","received_events_url":"https://api.github.com/users/phil303/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/phil303/reddit-mobile","description":null,"fork":true,"url":"https://api.github.com/repos/phil303/reddit-mobile","forks_url":"https://api.github.com/repos/phil303/reddit-mobile/forks","keys_url":"https://api.github.com/repos/phil303/reddit-mobile/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phil303/reddit-mobile/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phil303/reddit-mobile/teams","hooks_url":"https://api.github.com/repos/phil303/reddit-mobile/hooks","issue_events_url":"https://api.github.com/repos/phil303/reddit-mobile/issues/events{/number}","events_url":"https://api.github.com/repos/phil303/reddit-mobile/events","assignees_url":"https://api.github.com/repos/phil303/reddit-mobile/assignees{/user}","branches_url":"https://api.github.com/repos/phil303/reddit-mobile/branches{/branch}","tags_url":"https://api.github.com/repos/phil303/reddit-mobile/tags","blobs_url":"https://api.github.com/repos/phil303/reddit-mobile/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phil303/reddit-mobile/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phil303/reddit-mobile/git/refs{/sha}","trees_url":"https://api.github.com/repos/phil303/reddit-mobile/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phil303/reddit-mobile/statuses/{sha}","languages_url":"https://api.github.com/repos/phil303/reddit-mobile/languages","stargazers_url":"https://api.github.com/repos/phil303/reddit-mobile/stargazers","contributors_url":"https://api.github.com/repos/phil303/reddit-mobile/contributors","subscribers_url":"https://api.github.com/repos/phil303/reddit-mobile/subscribers","subscription_url":"https://api.github.com/repos/phil303/reddit-mobile/subscription","commits_url":"https://api.github.com/repos/phil303/reddit-mobile/commits{/sha}","git_commits_url":"https://api.github.com/repos/phil303/reddit-mobile/git/commits{/sha}","comments_url":"https://api.github.com/repos/phil303/reddit-mobile/comments{/number}","issue_comment_url":"https://api.github.com/repos/phil303/reddit-mobile/issues/comments{/number}","contents_url":"https://api.github.com/repos/phil303/reddit-mobile/contents/{+path}","compare_url":"https://api.github.com/repos/phil303/reddit-mobile/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phil303/reddit-mobile/merges","archive_url":"https://api.github.com/repos/phil303/reddit-mobile/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phil303/reddit-mobile/downloads","issues_url":"https://api.github.com/repos/phil303/reddit-mobile/issues{/number}","pulls_url":"https://api.github.com/repos/phil303/reddit-mobile/pulls{/number}","milestones_url":"https://api.github.com/repos/phil303/reddit-mobile/milestones{/number}","notifications_url":"https://api.github.com/repos/phil303/reddit-mobile/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phil303/reddit-mobile/labels{/name}","releases_url":"https://api.github.com/repos/phil303/reddit-mobile/releases{/id}","deployments_url":"https://api.github.com/repos/phil303/reddit-mobile/deployments","created_at":"2016-05-19T22:33:07Z","updated_at":"2016-05-19T22:33:10Z","pushed_at":"2016-10-31T21:56:27Z","git_url":"git://github.com/phil303/reddit-mobile.git","ssh_url":"git@github.com:phil303/reddit-mobile.git","clone_url":"https://github.com/phil303/reddit-mobile.git","svn_url":"https://github.com/phil303/reddit-mobile","homepage":null,"size":7189,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"reddit:2X","ref":"2X","sha":"0c0f18436836462d8d9ed6c12c5722fc8203179c","user":{"login":"reddit","id":14248,"avatar_url":"https://avatars.githubusercontent.com/u/14248?v=3","gravatar_id":"","url":"https://api.github.com/users/reddit","html_url":"https://github.com/reddit","followers_url":"https://api.github.com/users/reddit/followers","following_url":"https://api.github.com/users/reddit/following{/other_user}","gists_url":"https://api.github.com/users/reddit/gists{/gist_id}","starred_url":"https://api.github.com/users/reddit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reddit/subscriptions","organizations_url":"https://api.github.com/users/reddit/orgs","repos_url":"https://api.github.com/users/reddit/repos","events_url":"https://api.github.com/users/reddit/events{/privacy}","received_events_url":"https://api.github.com/users/reddit/received_events","type":"Organization","site_admin":false},"repo":{"id":23087554,"name":"reddit-mobile","full_name":"reddit/reddit-mobile","owner":{"login":"reddit","id":14248,"avatar_url":"https://avatars.githubusercontent.com/u/14248?v=3","gravatar_id":"","url":"https://api.github.com/users/reddit","html_url":"https://github.com/reddit","followers_url":"https://api.github.com/users/reddit/followers","following_url":"https://api.github.com/users/reddit/following{/other_user}","gists_url":"https://api.github.com/users/reddit/gists{/gist_id}","starred_url":"https://api.github.com/users/reddit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reddit/subscriptions","organizations_url":"https://api.github.com/users/reddit/orgs","repos_url":"https://api.github.com/users/reddit/repos","events_url":"https://api.github.com/users/reddit/events{/privacy}","received_events_url":"https://api.github.com/users/reddit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/reddit/reddit-mobile","description":null,"fork":false,"url":"https://api.github.com/repos/reddit/reddit-mobile","forks_url":"https://api.github.com/repos/reddit/reddit-mobile/forks","keys_url":"https://api.github.com/repos/reddit/reddit-mobile/keys{/key_id}","collaborators_url":"https://api.github.com/repos/reddit/reddit-mobile/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/reddit/reddit-mobile/teams","hooks_url":"https://api.github.com/repos/reddit/reddit-mobile/hooks","issue_events_url":"https://api.github.com/repos/reddit/reddit-mobile/issues/events{/number}","events_url":"https://api.github.com/repos/reddit/reddit-mobile/events","assignees_url":"https://api.github.com/repos/reddit/reddit-mobile/assignees{/user}","branches_url":"https://api.github.com/repos/reddit/reddit-mobile/branches{/branch}","tags_url":"https://api.github.com/repos/reddit/reddit-mobile/tags","blobs_url":"https://api.github.com/repos/reddit/reddit-mobile/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/reddit/reddit-mobile/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/reddit/reddit-mobile/git/refs{/sha}","trees_url":"https://api.github.com/repos/reddit/reddit-mobile/git/trees{/sha}","statuses_url":"https://api.github.com/repos/reddit/reddit-mobile/statuses/{sha}","languages_url":"https://api.github.com/repos/reddit/reddit-mobile/languages","stargazers_url":"https://api.github.com/repos/reddit/reddit-mobile/stargazers","contributors_url":"https://api.github.com/repos/reddit/reddit-mobile/contributors","subscribers_url":"https://api.github.com/repos/reddit/reddit-mobile/subscribers","subscription_url":"https://api.github.com/repos/reddit/reddit-mobile/subscription","commits_url":"https://api.github.com/repos/reddit/reddit-mobile/commits{/sha}","git_commits_url":"https://api.github.com/repos/reddit/reddit-mobile/git/commits{/sha}","comments_url":"https://api.github.com/repos/reddit/reddit-mobile/comments{/number}","issue_comment_url":"https://api.github.com/repos/reddit/reddit-mobile/issues/comments{/number}","contents_url":"https://api.github.com/repos/reddit/reddit-mobile/contents/{+path}","compare_url":"https://api.github.com/repos/reddit/reddit-mobile/compare/{base}...{head}","merges_url":"https://api.github.com/repos/reddit/reddit-mobile/merges","archive_url":"https://api.github.com/repos/reddit/reddit-mobile/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/reddit/reddit-mobile/downloads","issues_url":"https://api.github.com/repos/reddit/reddit-mobile/issues{/number}","pulls_url":"https://api.github.com/repos/reddit/reddit-mobile/pulls{/number}","milestones_url":"https://api.github.com/repos/reddit/reddit-mobile/milestones{/number}","notifications_url":"https://api.github.com/repos/reddit/reddit-mobile/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/reddit/reddit-mobile/labels{/name}","releases_url":"https://api.github.com/repos/reddit/reddit-mobile/releases{/id}","deployments_url":"https://api.github.com/repos/reddit/reddit-mobile/deployments","created_at":"2014-08-18T21:42:05Z","updated_at":"2016-10-31T11:49:27Z","pushed_at":"2016-10-31T21:36:12Z","git_url":"git://github.com/reddit/reddit-mobile.git","ssh_url":"git@github.com:reddit/reddit-mobile.git","clone_url":"https://github.com/reddit/reddit-mobile.git","svn_url":"https://github.com/reddit/reddit-mobile","homepage":null,"size":10776,"stargazers_count":866,"watchers_count":866,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":149,"mirror_url":null,"open_issues_count":20,"forks":149,"open_issues":20,"watchers":866,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/reddit/reddit-mobile/pulls/866"},"html":{"href":"https://github.com/reddit/reddit-mobile/pull/866"},"issue":{"href":"https://api.github.com/repos/reddit/reddit-mobile/issues/866"},"comments":{"href":"https://api.github.com/repos/reddit/reddit-mobile/issues/866/comments"},"review_comments":{"href":"https://api.github.com/repos/reddit/reddit-mobile/pulls/866/comments"},"review_comment":{"href":"https://api.github.com/repos/reddit/reddit-mobile/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/reddit/reddit-mobile/pulls/866/commits"},"statuses":{"href":"https://api.github.com/repos/reddit/reddit-mobile/statuses/73a4523fc9bd0353a6e44193e356dd7541f8bdea"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":3,"deletions":3,"changed_files":1}}
{"actor":{"display_login":"phil303"}}