Skip to content

Commit

Permalink
fix: force query env [UA-8347]
Browse files Browse the repository at this point in the history
  • Loading branch information
mpayne-coveo committed Nov 21, 2023
1 parent 0472a78 commit cc28a92
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Charts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ export const Charts: FunctionComponent<ChartsProps> = (props) => {
}

const getMetrics = async () => {
if (!query.env) {
query.env = "prd";
}
if (query.env) {
var purchasesPerMinuteAcrossRegions = 0;
var revenuePerMinuteAcrossRegions = 0;
Expand Down

0 comments on commit cc28a92

Please sign in to comment.