fix: template builder AI URL /ai-analyze → /ai/analyze v2.2.35
This commit is contained in:
parent
bf28e94d6e
commit
2d2c7aeb9b
@ -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({
|
||||
|
||||
Loading…
Reference in New Issue
Block a user