Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global webhook URL not returned if querying a single app #7

Open
matt-oakes opened this issue Apr 18, 2015 · 0 comments · May be fixed by #11
Open

Global webhook URL not returned if querying a single app #7

matt-oakes opened this issue Apr 18, 2015 · 0 comments · May be fixed by #11

Comments

@matt-oakes
Copy link
Contributor

If you have a global webhook URL (new from #6) set but not one an app and then ask for that apps webhook URL it should return the global URL. Currently:

$ dokku slack:set https://hooks.slack.com/global
$ dokku slack:get
https://hooks.slack.com/global
$ dokku slack:get an-app
cat: /home/dokku/an-app/SLACK_URL: No such file or directory
$ dokku slack:set an-app https://hooks.slack.com/single
$ dokku slack:get an-app
https://hooks.slack.com/single

Should be:

$ dokku slack:set https://hooks.slack.com/global
$ dokku slack:get
https://hooks.slack.com/global
$ dokku slack:get an-app
https://hooks.slack.com/global
$ dokku slack:set an-app https://hooks.slack.com/single
$ dokku slack:get an-app
https://hooks.slack.com/single
@crisward crisward linked a pull request Apr 29, 2016 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant