From 0e82facfb4faf10d7808fc3b764143ec9124cee6 Mon Sep 17 00:00:00 2001 From: Mrs Feathers Date: Fri, 29 Mar 2024 09:47:42 -0400 Subject: [PATCH] website/docs: fix transports example (#9074) Update transports.md request.context['notification'].body is correct. Signed-off-by: Mrs Feathers --- website/docs/events/transports.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/events/transports.md b/website/docs/events/transports.md index 3e95fdc6ea..58f543a371 100644 --- a/website/docs/events/transports.md +++ b/website/docs/events/transports.md @@ -27,7 +27,7 @@ Starting in 2021.9, you can also select a Notification mapping. This allows you ```python return { - "foo": context['notification'].body, + "foo": request.context['notification'].body, } ```