Skip to content

Commit 4f0e02a

Browse files
committed
filter on org id as well
1 parent 07df567 commit 4f0e02a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/sentry/seer/autofix/on_completion_hook.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def execute(cls, organization: Organization, run_id: int) -> None:
8383
group = None
8484
else:
8585
try:
86-
group = Group.objects.get(id=group_id)
86+
group = Group.objects.get(id=group_id, project__organization_id=organization.id)
8787
except Group.DoesNotExist:
8888
group = None
8989

0 commit comments

Comments
 (0)