zulip / python-zulip-api

Python library for the Zulip API.
https://zulip.com/api/
Apache License 2.0
350 stars 352 forks source link

botserver: Return a valid JSON that is acceptable to outgoing webhooks. #685

Closed PIG208 closed 3 years ago

PIG208 commented 3 years ago

In zulip/zulip@b998138d3ab8ca0ea212c00469042349f8c3fe53, we introduce a check for responses from outgoing webhooks that require them to be a dictionary. This fixes the return value of the botserver view function to accommodate with the change from the serverside.

PIG208 commented 3 years ago

image (No more "Invalid Message(s)" error)