anton screenshot
This commit is contained in:
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user