Skip to content

Commit 277f026

Browse files
authored
feat(metrics): Add metricSecond to allowed category (#70442)
1 parent ef6c79a commit 277f026

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/sentry/api/endpoints/organization_stats_v2.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,10 @@ def get(self, request: Request, organization) -> Response:
168168
with self.handle_query_errors():
169169

170170
if features.has("organizations:metrics-stats", organization):
171-
if request.GET.get("category") == "metrics":
171+
if (
172+
request.GET.get("category") == "metrics"
173+
or request.GET.get("category") == "metricSecond"
174+
):
172175
# TODO(metrics): align project resolution
173176
result = run_metrics_outcomes_query(
174177
request.GET,

0 commit comments

Comments
 (0)