Skip to content

Commit

Permalink
fix: metrics headers
Browse files Browse the repository at this point in the history
  • Loading branch information
jacovinus committed Nov 27, 2024
1 parent a52c1cc commit af75b13
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ export function useValuesFromMetrics(id: any, start, stop) {
// setLoading(true);

try {
const req = await axios.get(url, {
...metricsHeaders.options,
});
const req = await axios.get(url,
metricsHeaders,
);
if (req?.status === 200) {
setMetricNames(req?.data?.data || []);
}
Expand Down

0 comments on commit af75b13

Please sign in to comment.