{"action":"created","issue":{"url":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/issues/220","repository_url":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web","labels_url":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/issues/220/labels{/name}","comments_url":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/issues/220/comments","events_url":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/issues/220/events","html_url":"https://github.com/CenterForOpenScience/ember-osf-web/pull/220","id":316914244,"number":220,"title":"Fix defaultTo types","user":{"login":"jamescdavis","id":348630,"avatar_url":"https://avatars1.githubusercontent.com/u/348630?v=4","gravatar_id":"","url":"https://api.github.com/users/jamescdavis","html_url":"https://github.com/jamescdavis","followers_url":"https://api.github.com/users/jamescdavis/followers","following_url":"https://api.github.com/users/jamescdavis/following{/other_user}","gists_url":"https://api.github.com/users/jamescdavis/gists{/gist_id}","starred_url":"https://api.github.com/users/jamescdavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamescdavis/subscriptions","organizations_url":"https://api.github.com/users/jamescdavis/orgs","repos_url":"https://api.github.com/users/jamescdavis/repos","events_url":"https://api.github.com/users/jamescdavis/events{/privacy}","received_events_url":"https://api.github.com/users/jamescdavis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-23T17:45:21Z","updated_at":"2018-04-23T18:03:19Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/pulls/220","html_url":"https://github.com/CenterForOpenScience/ember-osf-web/pull/220","diff_url":"https://github.com/CenterForOpenScience/ember-osf-web/pull/220.diff","patch_url":"https://github.com/CenterForOpenScience/ember-osf-web/pull/220.patch"},"body":"<!-- Before you submit your Pull Request, make sure you picked the right branch:\r\n\r\n     - For hotfixes, select \"master\" as the target branch\r\n     - For new features and non-hotfix bugfixes, select \"develop\" as the target branch\r\n     - For release feature fixes, select the relevant release branch (release/X.Y.Z) as the target branch -->\r\n\r\n## Purpose\r\n\r\nFix the types fo the `defaultTo` utility, which were allowing invalid default values.\r\n\r\n## Summary of Changes\r\n\r\n* adjust `defaultTo` types to not let invalid default values through\r\n* fix invalid `defaultTo` usage with default values\r\n\r\n## Side Effects / Testing Notes\r\n\r\nShould not change behavior.\r\n\r\n## Ticket\r\n\r\nn/a\r\n\r\n# Reviewer Checklist\r\n\r\n- [ ] meets requirements\r\n- [ ] easy to understand\r\n- [ ] DRY\r\n- [ ] testable and includes test(s)\r\n- [ ] changes described in `CHANGELOG.md`\r\n\r\n<!-- Please strike through any checks that you think are not relevant for this PR and indicate why, e.g.\r\n\r\n     - [ ] ~~easy to understand~~ *(necessarily complex)*\r\n-->\r\n"},"comment":{"url":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/issues/comments/383668213","html_url":"https://github.com/CenterForOpenScience/ember-osf-web/pull/220#issuecomment-383668213","issue_url":"https://api.github.com/repos/CenterForOpenScience/ember-osf-web/issues/220","id":383668213,"user":{"login":"coveralls","id":2354108,"avatar_url":"https://avatars1.githubusercontent.com/u/2354108?v=4","gravatar_id":"","url":"https://api.github.com/users/coveralls","html_url":"https://github.com/coveralls","followers_url":"https://api.github.com/users/coveralls/followers","following_url":"https://api.github.com/users/coveralls/following{/other_user}","gists_url":"https://api.github.com/users/coveralls/gists{/gist_id}","starred_url":"https://api.github.com/users/coveralls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveralls/subscriptions","organizations_url":"https://api.github.com/users/coveralls/orgs","repos_url":"https://api.github.com/users/coveralls/repos","events_url":"https://api.github.com/users/coveralls/events{/privacy}","received_events_url":"https://api.github.com/users/coveralls/received_events","type":"User","site_admin":false},"created_at":"2018-04-23T18:03:19Z","updated_at":"2018-04-23T18:03:19Z","author_association":"NONE","body":"\n[![Coverage Status](https://coveralls.io/builds/16654839/badge)](https://coveralls.io/builds/16654839)\n\nCoverage decreased (-0.07%) to 55.802% when pulling **2fe2bcbdbf311ad6135eb3bd34ffac378a816a3e on jamescdavis:fix_defaultTo_types** into **e85a91ff8408c8f5ce9433285421adc5dc938667 on CenterForOpenScience:develop**.\n"}}
{"actor":{"display_login":"coveralls"}}