Skip to content

Commit 4ea2161

Browse files
cursoragentarmenzg
andcommitted
Avoid workflow lookup for test notification ID
Co-authored-by: Armen Zambrano G. <armenzg@users.noreply.github.com>
1 parent b859389 commit 4ea2161

File tree

1 file changed

+1
-1
lines changed
  • src/sentry/notifications/notification_action

1 file changed

+1
-1
lines changed

src/sentry/notifications/notification_action/types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def create_rule_instance_from_action(
202202
rule_id = None
203203

204204
label = None
205-
if workflow_id is not None:
205+
if workflow_id is not None and workflow_id != TEST_NOTIFICATION_ID:
206206
try:
207207
workflow = Workflow.objects.get(id=workflow_id)
208208
label = workflow.name

0 commit comments

Comments
 (0)