mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-02-27 00:50:41 +03:00
Fixes typo in docs
This commit is contained in:
parent
60bcc0beef
commit
c25e2c6d25
|
@ -106,5 +106,5 @@ method to your ``DjangoObjectType``.
|
|||
return None
|
||||
|
||||
if post.published or context.user == post.owner:
|
||||
return instance
|
||||
return post
|
||||
return None
|
||||
|
|
Loading…
Reference in New Issue
Block a user