Update index.html
Browse files- index.html +2 -2
index.html
CHANGED
|
@@ -532,7 +532,7 @@
|
|
| 532 |
container.appendChild(loading);
|
| 533 |
|
| 534 |
try {
|
| 535 |
-
const result = await callAiApi("
|
| 536 |
language: currentLang,
|
| 537 |
kpis: payloadKpis
|
| 538 |
});
|
|
@@ -620,7 +620,7 @@
|
|
| 620 |
}
|
| 621 |
|
| 622 |
try {
|
| 623 |
-
const result = await callAiApi("
|
| 624 |
language: currentLang,
|
| 625 |
kpis: buildAiKpiPayload()
|
| 626 |
});
|
|
|
|
| 532 |
container.appendChild(loading);
|
| 533 |
|
| 534 |
try {
|
| 535 |
+
const result = await callAiApi("api/insights", {
|
| 536 |
language: currentLang,
|
| 537 |
kpis: payloadKpis
|
| 538 |
});
|
|
|
|
| 620 |
}
|
| 621 |
|
| 622 |
try {
|
| 623 |
+
const result = await callAiApi("api/generate-kpis", {
|
| 624 |
language: currentLang,
|
| 625 |
kpis: buildAiKpiPayload()
|
| 626 |
});
|