diff --git a/src/repositories/TaskRepository.jsx b/src/repositories/TaskRepository.jsx index 08ef320b..cce28d6f 100644 --- a/src/repositories/TaskRepository.jsx +++ b/src/repositories/TaskRepository.jsx @@ -15,5 +15,11 @@ export const TasksRepository = { return api.get(url); }, reportTask: (data) => api.post("api/task/report", data), - taskComments: (data) => api.post("api/task/comment", data), + taskComments: ( data ) => api.post( "api/task/comment", data ), + + + auditTask: ( data ) => api.post( '/api/task/approve', data ) + + + };