Merge pull request #1013 from buster-so/wells-bus-1847-migrate-the-frontend-to-use-v2-get-metric_file

migrate /metric_file/[id] to be v2
This commit is contained in:
wellsbunk5 2025-09-19 15:42:14 -06:00 committed by GitHub
commit 4a4b89e2df
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ export const getMetric = async ({
id, id,
...params ...params
}: GetMetricRequest): Promise<GetMetricResponse> => { }: GetMetricRequest): Promise<GetMetricResponse> => {
return mainApi return mainApiV2
.get<GetMetricResponse>(`/metric_files/${id}`, { .get<GetMetricResponse>(`/metric_files/${id}`, {
params, params,
}) })