fix ui: fix mockup api route

This commit is contained in:
nick-delirium 2024-04-25 15:42:48 +02:00
parent f033cbd12f
commit 44ffbd5412
No known key found for this signature in database
GPG key ID: 93ABD695DF5FDBA0

View file

@ -42,7 +42,7 @@ export default class AiService extends BaseService {
}
async getCardData(query: string, chartData: Record<string, any>): Promise<Record<string, any>> {
const r = await this.client.post('/intelligent/search-plus', {
const r = await this.client.post('/intelligent/ask-or/charts', {
...chartData,
question: query,
});