Skip to content

Commit

Permalink
Merge 6db87fc into 4f3e943
Browse files Browse the repository at this point in the history
  • Loading branch information
jimshepherd committed Nov 28, 2018
2 parents 4f3e943 + 6db87fc commit f3f2747
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions graphene_tornado/tornado_graphql_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def execute_graphql_request(self, method, query, variables, operation_name, show
root_value=self.root_value,
variable_values=variables,
operation_name=operation_name,
context_value=self.request,
context_value=self.context,
middleware=self.middleware,
executor=self.executor or TornadoExecutor(),
return_promise=True
Expand Down Expand Up @@ -267,7 +267,7 @@ def content_type(self):

@property
def context(self):
return None
return self.request

@staticmethod
def instantiate_middleware(middlewares):
Expand Down

0 comments on commit f3f2747

Please sign in to comment.