We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 36a902f + 98c2af3 commit a8a6555Copy full SHA for a8a6555
docs/relay/mutations.rst
@@ -48,7 +48,7 @@ Mutations can also accept files, that's how it will work with different integrat
48
@classmethod
49
def mutate_and_get_payload(cls, root, info, **input):
50
# When using it in Django, context will be the request
51
- files = context.FILES
+ files = info.context.FILES
52
# Or, if used in Flask, context will be the flask global request
53
# files = context.files
54
0 commit comments