From ae2017e765b9b4b62b54e5cec612406da857f8e6 Mon Sep 17 00:00:00 2001 From: Neil Williams Date: Wed, 10 Feb 2021 15:47:08 -0800 Subject: [PATCH] Fix naming of context variable (#4) This got renamed in baseplate but not here. --- reddit_edgecontext/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reddit_edgecontext/__init__.py b/reddit_edgecontext/__init__.py index 59419ee..6f86c49 100644 --- a/reddit_edgecontext/__init__.py +++ b/reddit_edgecontext/__init__.py @@ -444,8 +444,8 @@ def attach_context(self, context: RequestContext) -> None: :param context: request context to attach this to """ - context.request_context = self - context.raw_request_context = self._header + context.edge_context = self + context.raw_edge_context = self._header class EdgeContextFactory(BaseEdgeContextFactory):