added audit task api in task repo

This commit is contained in:
Pramod Mahajan 2025-06-16 18:42:41 +05:30
parent 6f88980986
commit 4cb2bec73a

View File

@ -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 )
};