mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 06:53:25 +00:00
webhooks: Add missing space in Review Board.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Anders Kaseorg
parent
c02c053ec3
commit
65868b09eb
@@ -182,7 +182,9 @@ def api_reviewboard_webhook(
|
|||||||
user_profile: UserProfile,
|
user_profile: UserProfile,
|
||||||
payload: Dict[str, Sequence[Dict[str, Any]]] = REQ(argument_type="body"),
|
payload: Dict[str, Sequence[Dict[str, Any]]] = REQ(argument_type="body"),
|
||||||
) -> HttpResponse:
|
) -> HttpResponse:
|
||||||
event_type = validate_extract_webhook_http_header(request, "X_REVIEWBOARD_EVENT", "ReviewBoard")
|
event_type = validate_extract_webhook_http_header(
|
||||||
|
request, "X_REVIEWBOARD_EVENT", "Review Board"
|
||||||
|
)
|
||||||
assert event_type is not None
|
assert event_type is not None
|
||||||
|
|
||||||
body_function = RB_MESSAGE_FUNCTIONS.get(event_type)
|
body_function = RB_MESSAGE_FUNCTIONS.get(event_type)
|
||||||
|
|||||||
Reference in New Issue
Block a user