Skip to content

Commit

Permalink
Pass along request object with commands and interactivity
Browse files Browse the repository at this point in the history
  • Loading branch information
jvorcak committed Feb 14, 2020
1 parent af04ae1 commit 0549920
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from setuptools import setup

setup(
version="1.0.32",
version="1.0.33",
install_requires=["slackclient"]
)
4 changes: 2 additions & 2 deletions slack_app/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def slack_interactivity(request):
else:
mapping = None
workspace = None
return fn(payload, mapping, workspace)
return fn(request, payload, mapping, workspace)

return HttpResponse(status=400)

Expand Down Expand Up @@ -133,7 +133,7 @@ def slack_command(request, name: str):
workspace = None
mapping = None

return fn(payload, mapping, workspace)
return fn(request, payload, mapping, workspace)

return HttpResponse(status=400)

Expand Down

0 comments on commit 0549920

Please sign in to comment.