Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
backend
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
INJECT
backend
Commits
b6d5582a
There was an error fetching the commit references. Please try again later.
Commit
b6d5582a
authored
9 months ago
by
Marek Veselý
Committed by
Martin Juhás
9 months ago
Browse files
Options
Downloads
Patches
Plain Diff
feat: allow TeamQuestionnaireStateSubscription for trainees
Closes #226
parent
b622ef29
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
running_exercise/subscription.py
+1
-1
1 addition, 1 deletion
running_exercise/subscription.py
with
1 addition
and
1 deletion
running_exercise/subscription.py
+
1
−
1
View file @
b6d5582a
...
...
@@ -186,7 +186,7 @@ class TeamQuestionnaireStateSubscription(channels_graphql_ws.Subscription):
team_id
=
graphene
.
ID
(
required
=
True
)
@staticmethod
@protected
(
Perms
.
view_
analytics
.
full_name
)
@protected
(
Perms
.
view_
trainee_info
.
full_name
)
@extra_protected
(
Check
.
TEAM_ID
)
def
subscribe
(
root
,
info
,
team_id
:
str
):
get_model
(
Team
,
id
=
int
(
team_id
))
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment