Skip to content

Commit 1c88f9b

Browse files
authored
Fixes middleware documentation
Closes #812
1 parent 9ae2359 commit 1c88f9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/execution/middleware.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ This middleware only continues evaluation if the ``field_name`` is not ``'user'`
2929
.. code:: python
3030
3131
class AuthorizationMiddleware(object):
32-
def resolve(self, next, root, info, **args):
32+
def resolve(next, root, info, **args):
3333
if info.field_name == 'user':
3434
return None
3535
return next(root, info, **args)

0 commit comments

Comments
 (0)