refactor: modularize road management modules
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import axiosClient from '../axios/axios';
|
||||
import { API_ROUTES } from '@/constants/apiRoutes';
|
||||
import { Detection } from '@/types';
|
||||
import { projectService } from './project.service';
|
||||
|
||||
@@ -31,7 +32,7 @@ export const detectionService = {
|
||||
};
|
||||
};
|
||||
};
|
||||
}>('biz/api/v1/dashboard/overview', {
|
||||
}>(API_ROUTES.DASHBOARD.OVERVIEW, {
|
||||
params: { project_id: project.id },
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user