-
Notifications
You must be signed in to change notification settings - Fork 278
Closed
Labels
Milestone
Description
Currently, payload in middleware/listener args is an alias to body. This is not compatible with Bolt JS.
Reproducible in:
@app.action("action-id")
def handle_action(body, payload, action, ack):
assert body != payload
assert payload == action
ack()The slack_bolt version
The latest revision
Python runtime version
Any
OS info
Any
Steps to reproduce:
Run the above snippet in your Bolt app.
Expected result:
200 OK
Actual result:
500 Internal Server Error
Requirements
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.
Reactions are currently unavailable