Skip to content

Commit 15033fe

Browse files
committed
Simplify the Google Cloud Functions examples
1 parent 647701e commit 15033fe

File tree

3 files changed

+2
-72
lines changed

3 files changed

+2
-72
lines changed

examples/google_cloud_functions/handler.py

Lines changed: 0 additions & 66 deletions
This file was deleted.

examples/google_cloud_functions/oauth_main.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,7 @@ def event_test(body, say, logger):
4242

4343

4444
# Flask adapter
45-
# TODO: Once this once a new version newer than 1.13.2, delete handler and enable the slack_bolt.adapter import instead
46-
# from slack_bolt.adapter.google_cloud_functions import SlackRequestHandler
47-
from handler import SlackRequestHandler
45+
from slack_bolt.adapter.google_cloud_functions import SlackRequestHandler
4846
from flask import Request
4947

5048

examples/google_cloud_functions/simple_main.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@ def event_test(body, say, logger):
2222

2323

2424
# Flask adapter
25-
# TODO: Once this once a new version newer than 1.13.2, delete handler and enable the slack_bolt.adapter import instead
26-
# from slack_bolt.adapter.google_cloud_functions import SlackRequestHandler
27-
from handler import SlackRequestHandler
25+
from slack_bolt.adapter.google_cloud_functions import SlackRequestHandler
2826
from flask import Request
2927

3028

0 commit comments

Comments
 (0)