zulip/zerver/webhooks/slack_incoming
Aditya Kumar Kasaudhan d448b75176 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.
2024-10-30 15:33:29 -07: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-10-30 15:33:29 -07:00
view.py slack_incoming: Add ok=false to JSON in case of error. 2024-10-30 15:33:29 -07:00