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, } ```