Skip to content

The OSINT investigator's workbench. One case, one folder, every tool. Local-first: your media and your investigations never leave your machine.

JavaScript
293 B
Raw Blame
import { api } from './api.js';

const casePath = (caseId) => `/api/cases/${encodeURIComponent(caseId)}/doctor`;

export function checkCase(caseId) {
  return api.get(casePath(caseId));
}

export function repairCase(caseId, repair) {
  return api.post(`${casePath(caseId)}/repair`, repair);
}