Skip to content
Snippets Groups Projects
Commit 0d4b2741 authored by Hangzhi Yu's avatar Hangzhi Yu
Browse files

Fix typos

parent b14c8dd1
No related branches found
No related tags found
2 merge requests!352Draft: Resolve "Add dialog with each lesson's students",!350Resolve "Add simple course book list"
Pipeline #168165 failed
......@@ -52,7 +52,7 @@ class Query(graphene.ObjectType):
)
)
or (
obj_type == "GROUPS"
obj_type == "GROUP"
and not info.context.user.has_perm(
"alsijil.view_documentations_for_group_rule", Group.objects.get(id=obj_id)
)
......@@ -64,7 +64,7 @@ class Query(graphene.ObjectType):
)
)
):
raise PermissionsDenied()
raise PermissionDenied()
return Documentation.get_for_coursebook(
obj_type, obj_id, datetime_start, datetime_end, info.context
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment