Skip to content

Commit c25e2c6

Browse files
Fixes typo in docs
1 parent 60bcc0b commit c25e2c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/authorization.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,5 +106,5 @@ method to your ``DjangoObjectType``.
106106
return None
107107
108108
if post.published or context.user == post.owner:
109-
return instance
109+
return post
110110
return None

0 commit comments

Comments
 (0)