Skip to content

Commit b138f77

Browse files
authored
Merge pull request #7 from liviakuenzli/patch-1
Fixed typo in permissions.md
2 parents 0c0d69e + 579358c commit b138f77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extending/permissions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ If your permissions depend on the content of the mutation, you can access those
4949
```python
5050
class CustomPermission(BasePermission):
5151
@permission_for(SaveTextQuestionInput)
52-
def hsa_question_save_permission(self, mutation, info):
52+
def has_question_save_permission(self, mutation, info):
5353
params = mutation.get_params(info)
5454
# hypothetical permission: disallow saving
5555
# questions whose label contains the word "blah"

0 commit comments

Comments
 (0)