hot fix for staging

This commit is contained in:
Wells Bunker 2025-09-22 10:45:41 -06:00
parent 18b4d12c0a
commit d88530bea6
No known key found for this signature in database
GPG Key ID: DB16D6F2679B78FC
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ export const getDashboardById = async ({
/** The version number of the dashboard */
version_number?: number;
}) => {
return await mainApiV2
return await mainApi
.get<GetDashboardResponse>(`/dashboards/${id}`, {
params: { password, version_number },
})

View File

@ -29,7 +29,7 @@ export const getMetric = async ({
id,
...params
}: GetMetricParams & GetMetricQuery): Promise<GetMetricResponse> => {
return mainApiV2.get<GetMetricResponse>(`/metric_files/${id}`, { params }).then((res) => {
return mainApi.get<GetMetricResponse>(`/metric_files/${id}`, { params }).then((res) => {
return res.data;
});
};