mirror of https://github.com/buster-so/buster.git
migrate /metric_file/[id] to be v2
This commit is contained in:
parent
c20031b225
commit
08c829904c
|
@ -28,7 +28,7 @@ export const getMetric = async ({
|
|||
id,
|
||||
...params
|
||||
}: GetMetricRequest): Promise<GetMetricResponse> => {
|
||||
return mainApi
|
||||
return mainApiV2
|
||||
.get<GetMetricResponse>(`/metric_files/${id}`, {
|
||||
params,
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue