From 6475cdf66b963adfa4a9d04b06b68ed5b76ed5ab Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Tue, 13 Oct 2020 16:01:11 -0700 Subject: [PATCH] Move URL for flask events from /slack/events to just /events Everything about this bot is Slack-related, so we don't need slack in the name --- turbot_flask/turbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/turbot_flask/turbot.py b/turbot_flask/turbot.py index 735c427..2eaa268 100644 --- a/turbot_flask/turbot.py +++ b/turbot_flask/turbot.py @@ -12,7 +12,7 @@ from turbot.sheets import sheets_create app = Flask(__name__) slack_signing_secret = os.environ['SLACK_SIGNING_SECRET'] -slack_events = SlackEventAdapter(slack_signing_secret, "/slack/events", app) +slack_events = SlackEventAdapter(slack_signing_secret, "/events", app) @app.route('/rot', methods = ['POST']) def rot_route(): -- 2.43.0