mirror of https://github.com/buster-so/buster.git
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:
commit
4a4b89e2df
|
@ -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,
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue