Skip to content

Commit 0549920

Browse files
committed
Pass along request object with commands and interactivity
1 parent af04ae1 commit 0549920

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from setuptools import setup
22

33
setup(
4-
version="1.0.32",
4+
version="1.0.33",
55
install_requires=["slackclient"]
66
)

slack_app/views.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def slack_interactivity(request):
8787
else:
8888
mapping = None
8989
workspace = None
90-
return fn(payload, mapping, workspace)
90+
return fn(request, payload, mapping, workspace)
9191

9292
return HttpResponse(status=400)
9393

@@ -133,7 +133,7 @@ def slack_command(request, name: str):
133133
workspace = None
134134
mapping = None
135135

136-
return fn(payload, mapping, workspace)
136+
return fn(request, payload, mapping, workspace)
137137

138138
return HttpResponse(status=400)
139139

0 commit comments

Comments
 (0)