Skip to content

Commit

Permalink
revert backend changes
Browse files Browse the repository at this point in the history
  • Loading branch information
davidenwang committed Sep 18, 2024
1 parent d0ca177 commit aab9615
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/sentry/features/temporary.py
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ def register_temporary_features(manager: FeatureManager):
manager.add("organizations:transaction-name-normalize", OrganizationFeature, FeatureHandlerStrategy.INTERNAL, default=True, api_expose=False)
# Sanitize transaction names in the ingestion pipeline. # Deprecated
manager.add("organizations:transaction-name-sanitization", OrganizationFeature, FeatureHandlerStrategy.INTERNAL, api_expose=False)
# Enables creation and full updating of uptime monitors via the api and frontend
# Enables creation and full updating of uptime monitors via the api
manager.add("organizations:uptime-api-create-update", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=True)
# Enables automatic hostname detection in uptime
manager.add("organizations:uptime-automatic-hostname-detection", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=False)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,8 @@ def get(self, request: Request, organization) -> Response:
),
)

# if not features.has("organizations:uptime-rule-api", organization):
# uptime_rules = ProjectUptimeSubscription.objects.none()
if not features.has("organizations:uptime-rule-api", organization):
uptime_rules = ProjectUptimeSubscription.objects.none()

if not features.has("organizations:performance-view", organization):
# Filter to only error alert rules
Expand Down

0 comments on commit aab9615

Please sign in to comment.