Skip to content

Commit f596ce5

Browse files
committed
man am I bad at copy/paste
1 parent d792821 commit f596ce5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/sentry/incidents/endpoints/organization_alert_rule_index.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ def get(self, request: Request, organization: Organization) -> Response:
609609

610610
if features.has(
611611
"organizations:workflow-engine-rule-serializers", organization
612-
) or features.has("organizations:workflow-engine-projectrulesendpoint-get", organization):
612+
) or features.has("organizations:workflow-engine-combinedruleindex-get", organization):
613613
return self._get_workflow_engine(
614614
request=request,
615615
organization=organization,

tests/sentry/incidents/endpoints/test_organization_combined_rule_index_endpoint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1375,7 +1375,7 @@ def test_invalid_sort_key(self) -> None:
13751375
"organizations:incidents",
13761376
"organizations:performance-view",
13771377
"organizations:workflow-engine-rule-serializers",
1378-
"organizations:workflow-engine-projectrulesendpoint-get",
1378+
"organizations:workflow-engine-combinedruleindex-get",
13791379
]
13801380
)
13811381
class OrganizationCombinedRuleIndexWorkflowEngineTest(BaseAlertRuleSerializerTest, APITestCase):

0 commit comments

Comments
 (0)