feat: implement activity feed module with debounced filtering, history tracking, and axios service integration
This commit is contained in:
@@ -62,8 +62,15 @@ export const activityFeedsService = {
|
||||
return response;
|
||||
},
|
||||
|
||||
// Called after normal (non-rectification) true anomaly audit
|
||||
updateAnomalyInDashboard: async (payload: { site_id: string, anomaly_id: number[] }) => {
|
||||
const response = await axiosClient.post(`/api/audit/auditor/anomaly/update`, payload);
|
||||
const response = await axiosClient.post('/api/audit/auditor/anomaly/update', payload);
|
||||
return response;
|
||||
},
|
||||
|
||||
// Called after rectification true anomaly audit
|
||||
markAnomalyCompleted: async (payload: { anomaly_id: number[], site_id: number }) => {
|
||||
const response = await axiosClient.post('/api/audit/auditor/anomaly/completed', payload);
|
||||
return response;
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user