Browse Source

chore(trends): Update the endpoint (#48950)

I've renamed the endpoint, so mirroring the change in the frontend
Dameli Ushbayeva 1 year ago
parent
commit
e497591809
1 changed files with 1 additions and 1 deletions
  1. 1 1
      static/app/utils/performance/trends/trendsDiscoverQuery.tsx

+ 1 - 1
static/app/utils/performance/trends/trendsDiscoverQuery.tsx

@@ -67,7 +67,7 @@ export function getTrendsRequestPayload(props: RequestProps) {
 }
 
 function TrendsDiscoverQuery(props: Props) {
-  const route = props.withBreakpoint ? 'new-events-trends-stats' : 'events-trends-stats';
+  const route = props.withBreakpoint ? 'events-trends-statsv2' : 'events-trends-stats';
   return (
     <GenericDiscoverQuery<TrendsData, TrendsRequest>
       {...props}