Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
integrations: Broaden return type of check_send_webhook_fixture_message.
Zixuan James Lib908f0d2045b
diff --git a/zerver/views/development/integrations.py b/zerver/views/development/integrations.pyindex 77ccbd0d8af..ef4f23474e7 100644--- a/zerver/views/development/integrations.py+++ b/zerver/views/development/integrations.py@@ -3,6 +3,7 @@ from typing import TYPE_CHECKING, Any, Dict, List, Optionalimport orjsonfrom django.http import HttpRequest, HttpResponse+from django.http.response import HttpResponseBasefrom django.shortcuts import renderfrom django.test import Client@@ -110,7 +111,7 @@ def check_send_webhook_fixture_message(body: str = REQ(),is_json: bool = REQ(json_validator=check_bool),custom_headers: str = REQ(),-) -> HttpResponse:+) -> HttpResponseBase:try:custom_headers_dict = orjson.loads(custom_headers)except orjson.JSONDecodeError as ve: