Skip to content

Beautiful, AI-native markdown IDE and LLM wiki

346 B
Raw Blame
export async function resolveBlockingChanges(action: 'commit'): Promise<void> {
  const res = await fetch('/api/sync/resolve-blocking', {
    method: 'POST',
    headers: { 'Content-Type': 'application/json' },
    body: JSON.stringify({ action }),
  });
  if (!res.ok) {
    throw new Error(`sync resolve-blocking failed: ${res.status}`);
  }
}