{"action":"closed","number":5300,"pull_request":{"url":"https://api.github.com/repos/ReactTraining/react-router/pulls/5300","id":128385111,"html_url":"https://github.com/ReactTraining/react-router/pull/5300","diff_url":"https://github.com/ReactTraining/react-router/pull/5300.diff","patch_url":"https://github.com/ReactTraining/react-router/pull/5300.patch","issue_url":"https://api.github.com/repos/ReactTraining/react-router/issues/5300","number":5300,"state":"closed","locked":false,"title":"Add braces to single statement ifs","user":{"login":"morajabi","id":12202757,"avatar_url":"https://avatars0.githubusercontent.com/u/12202757?v=3","gravatar_id":"","url":"https://api.github.com/users/morajabi","html_url":"https://github.com/morajabi","followers_url":"https://api.github.com/users/morajabi/followers","following_url":"https://api.github.com/users/morajabi/following{/other_user}","gists_url":"https://api.github.com/users/morajabi/gists{/gist_id}","starred_url":"https://api.github.com/users/morajabi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morajabi/subscriptions","organizations_url":"https://api.github.com/users/morajabi/orgs","repos_url":"https://api.github.com/users/morajabi/repos","events_url":"https://api.github.com/users/morajabi/events{/privacy}","received_events_url":"https://api.github.com/users/morajabi/received_events","type":"User","site_admin":false},"body":"I think it would be safer to do it this way. But feel free to ignore it.","created_at":"2017-06-30T14:41:47Z","updated_at":"2017-06-30T14:48:36Z","closed_at":"2017-06-30T14:48:36Z","merged_at":null,"merge_commit_sha":"0fccf227f26a7ff86fe90ddf6de885a8ced59b4b","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/ReactTraining/react-router/pulls/5300/commits","review_comments_url":"https://api.github.com/repos/ReactTraining/react-router/pulls/5300/comments","review_comment_url":"https://api.github.com/repos/ReactTraining/react-router/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ReactTraining/react-router/issues/5300/comments","statuses_url":"https://api.github.com/repos/ReactTraining/react-router/statuses/eb204d8125e78d71dab7dd2f8357f7e8f24567d8","head":{"label":"morajabi:patch-1","ref":"patch-1","sha":"eb204d8125e78d71dab7dd2f8357f7e8f24567d8","user":{"login":"morajabi","id":12202757,"avatar_url":"https://avatars0.githubusercontent.com/u/12202757?v=3","gravatar_id":"","url":"https://api.github.com/users/morajabi","html_url":"https://github.com/morajabi","followers_url":"https://api.github.com/users/morajabi/followers","following_url":"https://api.github.com/users/morajabi/following{/other_user}","gists_url":"https://api.github.com/users/morajabi/gists{/gist_id}","starred_url":"https://api.github.com/users/morajabi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morajabi/subscriptions","organizations_url":"https://api.github.com/users/morajabi/orgs","repos_url":"https://api.github.com/users/morajabi/repos","events_url":"https://api.github.com/users/morajabi/events{/privacy}","received_events_url":"https://api.github.com/users/morajabi/received_events","type":"User","site_admin":false},"repo":{"id":95897043,"name":"react-router","full_name":"morajabi/react-router","owner":{"login":"morajabi","id":12202757,"avatar_url":"https://avatars0.githubusercontent.com/u/12202757?v=3","gravatar_id":"","url":"https://api.github.com/users/morajabi","html_url":"https://github.com/morajabi","followers_url":"https://api.github.com/users/morajabi/followers","following_url":"https://api.github.com/users/morajabi/following{/other_user}","gists_url":"https://api.github.com/users/morajabi/gists{/gist_id}","starred_url":"https://api.github.com/users/morajabi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morajabi/subscriptions","organizations_url":"https://api.github.com/users/morajabi/orgs","repos_url":"https://api.github.com/users/morajabi/repos","events_url":"https://api.github.com/users/morajabi/events{/privacy}","received_events_url":"https://api.github.com/users/morajabi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/morajabi/react-router","description":"Declarative routing for React","fork":true,"url":"https://api.github.com/repos/morajabi/react-router","forks_url":"https://api.github.com/repos/morajabi/react-router/forks","keys_url":"https://api.github.com/repos/morajabi/react-router/keys{/key_id}","collaborators_url":"https://api.github.com/repos/morajabi/react-router/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/morajabi/react-router/teams","hooks_url":"https://api.github.com/repos/morajabi/react-router/hooks","issue_events_url":"https://api.github.com/repos/morajabi/react-router/issues/events{/number}","events_url":"https://api.github.com/repos/morajabi/react-router/events","assignees_url":"https://api.github.com/repos/morajabi/react-router/assignees{/user}","branches_url":"https://api.github.com/repos/morajabi/react-router/branches{/branch}","tags_url":"https://api.github.com/repos/morajabi/react-router/tags","blobs_url":"https://api.github.com/repos/morajabi/react-router/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/morajabi/react-router/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/morajabi/react-router/git/refs{/sha}","trees_url":"https://api.github.com/repos/morajabi/react-router/git/trees{/sha}","statuses_url":"https://api.github.com/repos/morajabi/react-router/statuses/{sha}","languages_url":"https://api.github.com/repos/morajabi/react-router/languages","stargazers_url":"https://api.github.com/repos/morajabi/react-router/stargazers","contributors_url":"https://api.github.com/repos/morajabi/react-router/contributors","subscribers_url":"https://api.github.com/repos/morajabi/react-router/subscribers","subscription_url":"https://api.github.com/repos/morajabi/react-router/subscription","commits_url":"https://api.github.com/repos/morajabi/react-router/commits{/sha}","git_commits_url":"https://api.github.com/repos/morajabi/react-router/git/commits{/sha}","comments_url":"https://api.github.com/repos/morajabi/react-router/comments{/number}","issue_comment_url":"https://api.github.com/repos/morajabi/react-router/issues/comments{/number}","contents_url":"https://api.github.com/repos/morajabi/react-router/contents/{+path}","compare_url":"https://api.github.com/repos/morajabi/react-router/compare/{base}...{head}","merges_url":"https://api.github.com/repos/morajabi/react-router/merges","archive_url":"https://api.github.com/repos/morajabi/react-router/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/morajabi/react-router/downloads","issues_url":"https://api.github.com/repos/morajabi/react-router/issues{/number}","pulls_url":"https://api.github.com/repos/morajabi/react-router/pulls{/number}","milestones_url":"https://api.github.com/repos/morajabi/react-router/milestones{/number}","notifications_url":"https://api.github.com/repos/morajabi/react-router/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/morajabi/react-router/labels{/name}","releases_url":"https://api.github.com/repos/morajabi/react-router/releases{/id}","deployments_url":"https://api.github.com/repos/morajabi/react-router/deployments","created_at":"2017-06-30T14:39:48Z","updated_at":"2017-06-30T14:39:54Z","pushed_at":"2017-06-30T14:41:08Z","git_url":"git://github.com/morajabi/react-router.git","ssh_url":"git@github.com:morajabi/react-router.git","clone_url":"https://github.com/morajabi/react-router.git","svn_url":"https://github.com/morajabi/react-router","homepage":"https://reacttraining.com/react-router/","size":7130,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"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":"ReactTraining:master","ref":"master","sha":"81c5a02dc4c371917b271fc2646e4d0c7d50f32b","user":{"login":"ReactTraining","id":11823761,"avatar_url":"https://avatars2.githubusercontent.com/u/11823761?v=3","gravatar_id":"","url":"https://api.github.com/users/ReactTraining","html_url":"https://github.com/ReactTraining","followers_url":"https://api.github.com/users/ReactTraining/followers","following_url":"https://api.github.com/users/ReactTraining/following{/other_user}","gists_url":"https://api.github.com/users/ReactTraining/gists{/gist_id}","starred_url":"https://api.github.com/users/ReactTraining/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ReactTraining/subscriptions","organizations_url":"https://api.github.com/users/ReactTraining/orgs","repos_url":"https://api.github.com/users/ReactTraining/repos","events_url":"https://api.github.com/users/ReactTraining/events{/privacy}","received_events_url":"https://api.github.com/users/ReactTraining/received_events","type":"Organization","site_admin":false},"repo":{"id":19872456,"name":"react-router","full_name":"ReactTraining/react-router","owner":{"login":"ReactTraining","id":11823761,"avatar_url":"https://avatars2.githubusercontent.com/u/11823761?v=3","gravatar_id":"","url":"https://api.github.com/users/ReactTraining","html_url":"https://github.com/ReactTraining","followers_url":"https://api.github.com/users/ReactTraining/followers","following_url":"https://api.github.com/users/ReactTraining/following{/other_user}","gists_url":"https://api.github.com/users/ReactTraining/gists{/gist_id}","starred_url":"https://api.github.com/users/ReactTraining/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ReactTraining/subscriptions","organizations_url":"https://api.github.com/users/ReactTraining/orgs","repos_url":"https://api.github.com/users/ReactTraining/repos","events_url":"https://api.github.com/users/ReactTraining/events{/privacy}","received_events_url":"https://api.github.com/users/ReactTraining/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ReactTraining/react-router","description":"Declarative routing for React","fork":false,"url":"https://api.github.com/repos/ReactTraining/react-router","forks_url":"https://api.github.com/repos/ReactTraining/react-router/forks","keys_url":"https://api.github.com/repos/ReactTraining/react-router/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ReactTraining/react-router/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ReactTraining/react-router/teams","hooks_url":"https://api.github.com/repos/ReactTraining/react-router/hooks","issue_events_url":"https://api.github.com/repos/ReactTraining/react-router/issues/events{/number}","events_url":"https://api.github.com/repos/ReactTraining/react-router/events","assignees_url":"https://api.github.com/repos/ReactTraining/react-router/assignees{/user}","branches_url":"https://api.github.com/repos/ReactTraining/react-router/branches{/branch}","tags_url":"https://api.github.com/repos/ReactTraining/react-router/tags","blobs_url":"https://api.github.com/repos/ReactTraining/react-router/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ReactTraining/react-router/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ReactTraining/react-router/git/refs{/sha}","trees_url":"https://api.github.com/repos/ReactTraining/react-router/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ReactTraining/react-router/statuses/{sha}","languages_url":"https://api.github.com/repos/ReactTraining/react-router/languages","stargazers_url":"https://api.github.com/repos/ReactTraining/react-router/stargazers","contributors_url":"https://api.github.com/repos/ReactTraining/react-router/contributors","subscribers_url":"https://api.github.com/repos/ReactTraining/react-router/subscribers","subscription_url":"https://api.github.com/repos/ReactTraining/react-router/subscription","commits_url":"https://api.github.com/repos/ReactTraining/react-router/commits{/sha}","git_commits_url":"https://api.github.com/repos/ReactTraining/react-router/git/commits{/sha}","comments_url":"https://api.github.com/repos/ReactTraining/react-router/comments{/number}","issue_comment_url":"https://api.github.com/repos/ReactTraining/react-router/issues/comments{/number}","contents_url":"https://api.github.com/repos/ReactTraining/react-router/contents/{+path}","compare_url":"https://api.github.com/repos/ReactTraining/react-router/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ReactTraining/react-router/merges","archive_url":"https://api.github.com/repos/ReactTraining/react-router/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ReactTraining/react-router/downloads","issues_url":"https://api.github.com/repos/ReactTraining/react-router/issues{/number}","pulls_url":"https://api.github.com/repos/ReactTraining/react-router/pulls{/number}","milestones_url":"https://api.github.com/repos/ReactTraining/react-router/milestones{/number}","notifications_url":"https://api.github.com/repos/ReactTraining/react-router/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ReactTraining/react-router/labels{/name}","releases_url":"https://api.github.com/repos/ReactTraining/react-router/releases{/id}","deployments_url":"https://api.github.com/repos/ReactTraining/react-router/deployments","created_at":"2014-05-16T22:22:51Z","updated_at":"2017-06-30T14:06:23Z","pushed_at":"2017-06-30T14:41:48Z","git_url":"git://github.com/ReactTraining/react-router.git","ssh_url":"git@github.com:ReactTraining/react-router.git","clone_url":"https://github.com/ReactTraining/react-router.git","svn_url":"https://github.com/ReactTraining/react-router","homepage":"https://reacttraining.com/react-router/","size":7130,"stargazers_count":23181,"watchers_count":23181,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":5353,"mirror_url":null,"open_issues_count":58,"forks":5353,"open_issues":58,"watchers":23181,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ReactTraining/react-router/pulls/5300"},"html":{"href":"https://github.com/ReactTraining/react-router/pull/5300"},"issue":{"href":"https://api.github.com/repos/ReactTraining/react-router/issues/5300"},"comments":{"href":"https://api.github.com/repos/ReactTraining/react-router/issues/5300/comments"},"review_comments":{"href":"https://api.github.com/repos/ReactTraining/react-router/pulls/5300/comments"},"review_comment":{"href":"https://api.github.com/repos/ReactTraining/react-router/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ReactTraining/react-router/pulls/5300/commits"},"statuses":{"href":"https://api.github.com/repos/ReactTraining/react-router/statuses/eb204d8125e78d71dab7dd2f8357f7e8f24567d8"}},"merged":false,"mergeable":true,"rebaseable":true,"mergeable_state":"unstable","merged_by":null,"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":6,"deletions":3,"changed_files":1}}
{"actor":{"display_login":"timdorr"}}