fix: template builder AI URL /ai-analyze → /ai/analyze v2.2.35

This commit is contained in:
Christian 2026-03-02 15:46:30 +01:00
parent bf28e94d6e
commit 2d2c7aeb9b

View File

@ -1360,7 +1360,7 @@ async function autoGenerateTemplate() {
try {
// Call Ollama to analyze the invoice
const response = await fetch('/api/v1/supplier-invoices/ai-analyze', {
const response = await fetch('/api/v1/supplier-invoices/ai/analyze', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({