We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a12d0f8 commit dac39faCopy full SHA for dac39fa
src/sentry/preprod/snapshots/tasks.py
@@ -260,7 +260,7 @@ def compare_snapshots(
260
)
261
262
try:
263
- head_artifact = PreprodArtifact.objects.get(
+ head_artifact = PreprodArtifact.objects.select_related("project__organization").get(
264
id=head_artifact_id,
265
project__organization_id=org_id,
266
project_id=project_id,
0 commit comments