anton screenshot

This commit is contained in:
2026-07-23 10:27:10 +05:30
parent a76f92dbdd
commit 2d9b80971c
2 changed files with 100 additions and 5 deletions

View File

@@ -93,6 +93,14 @@ export const activityFeedsService = {
return response;
},
// Manual test-frame capture: extract the frame at `timestamp` (seconds) from
// the record's video, store it as a new image, and repoint Frame_Test at it.
// Returns { frame_test } - the new relative path to display/use.
captureFrame: async (payload: { site_id: number | string; anomaly_id: number; table: 'audits' | 'rectification'; timestamp: number }) => {
const response = await axiosClient.post('/api/audit/auditor/anomaly/capture-frame', payload);
return response;
},
getOrganizationSites: async (org_id: string) => {
const response = await axiosClient.get('/api/audit/Master/site', {
params: { org_id }