Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix TypeError when submitting w/o SLACK_CHANNELS config
Introduced with the merge of rauchg#152, the problem was if the `SLACK_CHANNELS` environment variable wasn't set up, then no hidden form element with the listed channels would be included. Therefore, our `channel` variable would be `undefined`, and a direct access of the `value` property would crash the app.
- Loading branch information