{"action":"closed","number":23,"pull_request":{"url":"https://api.github.com/repos/johreh/gloomycompanion/pulls/23","id":111798226,"html_url":"https://github.com/johreh/gloomycompanion/pull/23","diff_url":"https://github.com/johreh/gloomycompanion/pull/23.diff","patch_url":"https://github.com/johreh/gloomycompanion/pull/23.patch","issue_url":"https://api.github.com/repos/johreh/gloomycompanion/issues/23","number":23,"state":"closed","locked":false,"title":"Fix some scenario decks that were causing a failure","user":{"login":"GinoGalotti","id":14745341,"avatar_url":"https://avatars0.githubusercontent.com/u/14745341?v=3","gravatar_id":"","url":"https://api.github.com/users/GinoGalotti","html_url":"https://github.com/GinoGalotti","followers_url":"https://api.github.com/users/GinoGalotti/followers","following_url":"https://api.github.com/users/GinoGalotti/following{/other_user}","gists_url":"https://api.github.com/users/GinoGalotti/gists{/gist_id}","starred_url":"https://api.github.com/users/GinoGalotti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GinoGalotti/subscriptions","organizations_url":"https://api.github.com/users/GinoGalotti/orgs","repos_url":"https://api.github.com/users/GinoGalotti/repos","events_url":"https://api.github.com/users/GinoGalotti/events{/privacy}","received_events_url":"https://api.github.com/users/GinoGalotti/received_events","type":"User","site_admin":false},"body":"These three typos were causing an error if a user selected any of those scenarios.\r\n\r\nI have no scenario book on my own, so I can't verify that the data is the exact one, but I just changed it to the closest monster.\r\n\r\nI verify it adding this code to init, forcing every deck to load. There were no other errors!\r\n\r\n   ```\r\n for (var i=0; i < SCENARIO_DEFINITIONS.length; i++)\r\n    {\r\n        console.log(SCENARIO_DEFINITIONS[i].name);\r\n        console.log(SCENARIO_DEFINITIONS[i].decks);\r\n        var selected_decks = SCENARIO_DEFINITIONS[i].decks.map( function(name) { return decks[name]; } );\r\n        decklist.set_selection(selected_decks.map( function(deck) { return deck.name; } ));\r\n        apply_deck_selection(selected_decks, false);\r\n    }\r\n```\n\n<!-- Reviewable:start -->\n---\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"34\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/johreh/gloomycompanion/23)\n<!-- Reviewable:end -->\n","created_at":"2017-03-21T14:55:55Z","updated_at":"2017-03-21T19:06:39Z","closed_at":"2017-03-21T19:06:39Z","merged_at":"2017-03-21T19:06:39Z","merge_commit_sha":"5c1c240c180643c273f8d9dfb526baf115b5886d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/johreh/gloomycompanion/pulls/23/commits","review_comments_url":"https://api.github.com/repos/johreh/gloomycompanion/pulls/23/comments","review_comment_url":"https://api.github.com/repos/johreh/gloomycompanion/pulls/comments{/number}","comments_url":"https://api.github.com/repos/johreh/gloomycompanion/issues/23/comments","statuses_url":"https://api.github.com/repos/johreh/gloomycompanion/statuses/0794125bd631e3f461343bb8e6c50e29b55740d7","head":{"label":"GinoGalotti:fix-scenario-error","ref":"fix-scenario-error","sha":"0794125bd631e3f461343bb8e6c50e29b55740d7","user":{"login":"GinoGalotti","id":14745341,"avatar_url":"https://avatars0.githubusercontent.com/u/14745341?v=3","gravatar_id":"","url":"https://api.github.com/users/GinoGalotti","html_url":"https://github.com/GinoGalotti","followers_url":"https://api.github.com/users/GinoGalotti/followers","following_url":"https://api.github.com/users/GinoGalotti/following{/other_user}","gists_url":"https://api.github.com/users/GinoGalotti/gists{/gist_id}","starred_url":"https://api.github.com/users/GinoGalotti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GinoGalotti/subscriptions","organizations_url":"https://api.github.com/users/GinoGalotti/orgs","repos_url":"https://api.github.com/users/GinoGalotti/repos","events_url":"https://api.github.com/users/GinoGalotti/events{/privacy}","received_events_url":"https://api.github.com/users/GinoGalotti/received_events","type":"User","site_admin":false},"repo":{"id":83310486,"name":"gloomycompanion","full_name":"GinoGalotti/gloomycompanion","owner":{"login":"GinoGalotti","id":14745341,"avatar_url":"https://avatars0.githubusercontent.com/u/14745341?v=3","gravatar_id":"","url":"https://api.github.com/users/GinoGalotti","html_url":"https://github.com/GinoGalotti","followers_url":"https://api.github.com/users/GinoGalotti/followers","following_url":"https://api.github.com/users/GinoGalotti/following{/other_user}","gists_url":"https://api.github.com/users/GinoGalotti/gists{/gist_id}","starred_url":"https://api.github.com/users/GinoGalotti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GinoGalotti/subscriptions","organizations_url":"https://api.github.com/users/GinoGalotti/orgs","repos_url":"https://api.github.com/users/GinoGalotti/repos","events_url":"https://api.github.com/users/GinoGalotti/events{/privacy}","received_events_url":"https://api.github.com/users/GinoGalotti/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/GinoGalotti/gloomycompanion","description":"Testing version of the latest changes","fork":true,"url":"https://api.github.com/repos/GinoGalotti/gloomycompanion","forks_url":"https://api.github.com/repos/GinoGalotti/gloomycompanion/forks","keys_url":"https://api.github.com/repos/GinoGalotti/gloomycompanion/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GinoGalotti/gloomycompanion/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GinoGalotti/gloomycompanion/teams","hooks_url":"https://api.github.com/repos/GinoGalotti/gloomycompanion/hooks","issue_events_url":"https://api.github.com/repos/GinoGalotti/gloomycompanion/issues/events{/number}","events_url":"https://api.github.com/repos/GinoGalotti/gloomycompanion/events","assignees_url":"https://api.github.com/repos/GinoGalotti/gloomycompanion/assignees{/user}","branches_url":"https://api.github.com/repos/GinoGalotti/gloomycompanion/branches{/branch}","tags_url":"https://api.github.com/repos/GinoGalotti/gloomycompanion/tags","blobs_url":"https://api.github.com/repos/GinoGalotti/gloomycompanion/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GinoGalotti/gloomycompanion/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GinoGalotti/gloomycompanion/git/refs{/sha}","trees_url":"https://api.github.com/repos/GinoGalotti/gloomycompanion/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GinoGalotti/gloomycompanion/statuses/{sha}","languages_url":"https://api.github.com/repos/GinoGalotti/gloomycompanion/languages","stargazers_url":"https://api.github.com/repos/GinoGalotti/gloomycompanion/stargazers","contributors_url":"https://api.github.com/repos/GinoGalotti/gloomycompanion/contributors","subscribers_url":"https://api.github.com/repos/GinoGalotti/gloomycompanion/subscribers","subscription_url":"https://api.github.com/repos/GinoGalotti/gloomycompanion/subscription","commits_url":"https://api.github.com/repos/GinoGalotti/gloomycompanion/commits{/sha}","git_commits_url":"https://api.github.com/repos/GinoGalotti/gloomycompanion/git/commits{/sha}","comments_url":"https://api.github.com/repos/GinoGalotti/gloomycompanion/comments{/number}","issue_comment_url":"https://api.github.com/repos/GinoGalotti/gloomycompanion/issues/comments{/number}","contents_url":"https://api.github.com/repos/GinoGalotti/gloomycompanion/contents/{+path}","compare_url":"https://api.github.com/repos/GinoGalotti/gloomycompanion/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GinoGalotti/gloomycompanion/merges","archive_url":"https://api.github.com/repos/GinoGalotti/gloomycompanion/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GinoGalotti/gloomycompanion/downloads","issues_url":"https://api.github.com/repos/GinoGalotti/gloomycompanion/issues{/number}","pulls_url":"https://api.github.com/repos/GinoGalotti/gloomycompanion/pulls{/number}","milestones_url":"https://api.github.com/repos/GinoGalotti/gloomycompanion/milestones{/number}","notifications_url":"https://api.github.com/repos/GinoGalotti/gloomycompanion/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GinoGalotti/gloomycompanion/labels{/name}","releases_url":"https://api.github.com/repos/GinoGalotti/gloomycompanion/releases{/id}","deployments_url":"https://api.github.com/repos/GinoGalotti/gloomycompanion/deployments","created_at":"2017-02-27T12:58:13Z","updated_at":"2017-03-21T18:04:01Z","pushed_at":"2017-03-21T15:49:22Z","git_url":"git://github.com/GinoGalotti/gloomycompanion.git","ssh_url":"git@github.com:GinoGalotti/gloomycompanion.git","clone_url":"https://github.com/GinoGalotti/gloomycompanion.git","svn_url":"https://github.com/GinoGalotti/gloomycompanion","homepage":"https://ginogalotti.github.io/gloomycompanion/","size":9900,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"johreh:master","ref":"master","sha":"9829cc84ba6bbb13b5e9a4baa2cc96bb94e16a21","user":{"login":"johreh","id":1417219,"avatar_url":"https://avatars1.githubusercontent.com/u/1417219?v=3","gravatar_id":"","url":"https://api.github.com/users/johreh","html_url":"https://github.com/johreh","followers_url":"https://api.github.com/users/johreh/followers","following_url":"https://api.github.com/users/johreh/following{/other_user}","gists_url":"https://api.github.com/users/johreh/gists{/gist_id}","starred_url":"https://api.github.com/users/johreh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johreh/subscriptions","organizations_url":"https://api.github.com/users/johreh/orgs","repos_url":"https://api.github.com/users/johreh/repos","events_url":"https://api.github.com/users/johreh/events{/privacy}","received_events_url":"https://api.github.com/users/johreh/received_events","type":"User","site_admin":false},"repo":{"id":81389583,"name":"gloomycompanion","full_name":"johreh/gloomycompanion","owner":{"login":"johreh","id":1417219,"avatar_url":"https://avatars1.githubusercontent.com/u/1417219?v=3","gravatar_id":"","url":"https://api.github.com/users/johreh","html_url":"https://github.com/johreh","followers_url":"https://api.github.com/users/johreh/followers","following_url":"https://api.github.com/users/johreh/following{/other_user}","gists_url":"https://api.github.com/users/johreh/gists{/gist_id}","starred_url":"https://api.github.com/users/johreh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johreh/subscriptions","organizations_url":"https://api.github.com/users/johreh/orgs","repos_url":"https://api.github.com/users/johreh/repos","events_url":"https://api.github.com/users/johreh/events{/privacy}","received_events_url":"https://api.github.com/users/johreh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/johreh/gloomycompanion","description":"Gloomhaven monster app","fork":false,"url":"https://api.github.com/repos/johreh/gloomycompanion","forks_url":"https://api.github.com/repos/johreh/gloomycompanion/forks","keys_url":"https://api.github.com/repos/johreh/gloomycompanion/keys{/key_id}","collaborators_url":"https://api.github.com/repos/johreh/gloomycompanion/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/johreh/gloomycompanion/teams","hooks_url":"https://api.github.com/repos/johreh/gloomycompanion/hooks","issue_events_url":"https://api.github.com/repos/johreh/gloomycompanion/issues/events{/number}","events_url":"https://api.github.com/repos/johreh/gloomycompanion/events","assignees_url":"https://api.github.com/repos/johreh/gloomycompanion/assignees{/user}","branches_url":"https://api.github.com/repos/johreh/gloomycompanion/branches{/branch}","tags_url":"https://api.github.com/repos/johreh/gloomycompanion/tags","blobs_url":"https://api.github.com/repos/johreh/gloomycompanion/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/johreh/gloomycompanion/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/johreh/gloomycompanion/git/refs{/sha}","trees_url":"https://api.github.com/repos/johreh/gloomycompanion/git/trees{/sha}","statuses_url":"https://api.github.com/repos/johreh/gloomycompanion/statuses/{sha}","languages_url":"https://api.github.com/repos/johreh/gloomycompanion/languages","stargazers_url":"https://api.github.com/repos/johreh/gloomycompanion/stargazers","contributors_url":"https://api.github.com/repos/johreh/gloomycompanion/contributors","subscribers_url":"https://api.github.com/repos/johreh/gloomycompanion/subscribers","subscription_url":"https://api.github.com/repos/johreh/gloomycompanion/subscription","commits_url":"https://api.github.com/repos/johreh/gloomycompanion/commits{/sha}","git_commits_url":"https://api.github.com/repos/johreh/gloomycompanion/git/commits{/sha}","comments_url":"https://api.github.com/repos/johreh/gloomycompanion/comments{/number}","issue_comment_url":"https://api.github.com/repos/johreh/gloomycompanion/issues/comments{/number}","contents_url":"https://api.github.com/repos/johreh/gloomycompanion/contents/{+path}","compare_url":"https://api.github.com/repos/johreh/gloomycompanion/compare/{base}...{head}","merges_url":"https://api.github.com/repos/johreh/gloomycompanion/merges","archive_url":"https://api.github.com/repos/johreh/gloomycompanion/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/johreh/gloomycompanion/downloads","issues_url":"https://api.github.com/repos/johreh/gloomycompanion/issues{/number}","pulls_url":"https://api.github.com/repos/johreh/gloomycompanion/pulls{/number}","milestones_url":"https://api.github.com/repos/johreh/gloomycompanion/milestones{/number}","notifications_url":"https://api.github.com/repos/johreh/gloomycompanion/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/johreh/gloomycompanion/labels{/name}","releases_url":"https://api.github.com/repos/johreh/gloomycompanion/releases{/id}","deployments_url":"https://api.github.com/repos/johreh/gloomycompanion/deployments","created_at":"2017-02-09T00:06:49Z","updated_at":"2017-03-19T14:14:44Z","pushed_at":"2017-03-21T19:06:39Z","git_url":"git://github.com/johreh/gloomycompanion.git","ssh_url":"git@github.com:johreh/gloomycompanion.git","clone_url":"https://github.com/johreh/gloomycompanion.git","svn_url":"https://github.com/johreh/gloomycompanion","homepage":"https://johreh.github.io/gloomycompanion/","size":9892,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":10,"mirror_url":null,"open_issues_count":7,"forks":10,"open_issues":7,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/johreh/gloomycompanion/pulls/23"},"html":{"href":"https://github.com/johreh/gloomycompanion/pull/23"},"issue":{"href":"https://api.github.com/repos/johreh/gloomycompanion/issues/23"},"comments":{"href":"https://api.github.com/repos/johreh/gloomycompanion/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/johreh/gloomycompanion/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/johreh/gloomycompanion/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/johreh/gloomycompanion/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/johreh/gloomycompanion/statuses/0794125bd631e3f461343bb8e6c50e29b55740d7"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"johreh","id":1417219,"avatar_url":"https://avatars1.githubusercontent.com/u/1417219?v=3","gravatar_id":"","url":"https://api.github.com/users/johreh","html_url":"https://github.com/johreh","followers_url":"https://api.github.com/users/johreh/followers","following_url":"https://api.github.com/users/johreh/following{/other_user}","gists_url":"https://api.github.com/users/johreh/gists{/gist_id}","starred_url":"https://api.github.com/users/johreh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johreh/subscriptions","organizations_url":"https://api.github.com/users/johreh/orgs","repos_url":"https://api.github.com/users/johreh/repos","events_url":"https://api.github.com/users/johreh/events{/privacy}","received_events_url":"https://api.github.com/users/johreh/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":3,"deletions":3,"changed_files":1}}
{"actor":{"display_login":"johreh"}}