zulip/zerver/webhooks/slack_incoming
Aditya Kumar Kasaudhan 6956e9a2b3 slack_incoming: Add ok=false to JSON in case of error.
Previously, errors were returned using Zulip's default format,
which did not match Slack's expected response structure.

This change ensures that errors in the Slack incoming webhook handler
return JSON responses in Slack's expected format: {ok: false, error:
"error string"}.

Fixes: #31878.
(cherry picked from commit d448b75176)
2024-11-18 18:32:25 -08:00
..
fixtures slack_incoming: Verify that keys exist before checking their value. 2022-11-29 16:34:16 -08:00
__init__.py
doc.md integration-docs: Update Slack incoming-webhook for new doc format. 2024-07-16 14:55:56 -07:00
tests.py slack_incoming: Add ok=false to JSON in case of error. 2024-11-18 18:32:25 -08:00
view.py slack_incoming: Add ok=false to JSON in case of error. 2024-11-18 18:32:25 -08:00