diff --git a/backend/siarnaq/api/teams/views.py b/backend/siarnaq/api/teams/views.py index 20a97b090..0dd6d1ba0 100644 --- a/backend/siarnaq/api/teams/views.py +++ b/backend/siarnaq/api/teams/views.py @@ -226,7 +226,7 @@ def compute(self, request, pk=None, episode_id=None): ) def report(self, request, pk=None, *, episode_id): """Retrieve or update team strategy report""" - team = Team.objects.filter(members=request.user).get() + team = Team.objects.filter(episode=episode_id, members=request.user).get() profile = team.profile match request.method.lower(): case "get":