This commit is contained in:
mmrbnjd
2025-08-18 14:18:08 +03:30
parent 7ce8812098
commit 067607d98a
19 changed files with 715 additions and 55 deletions

View File

@@ -98,9 +98,9 @@ namespace HushianWebApp.Service
}
// AI conversation endpoints
public async Task<List<aiResponseDto>> GetAiCurrentResponses(int companyId)
public async Task<List<aiResponseDto>> GetAiCurrentResponses(int companyId,string aiKeyUser)
{
var response = await _baseController.Get($"{BaseRoute}ai/CurrentResponse/{companyId}");
var response = await _baseController.Get($"{BaseRoute}ai/CurrentResponse/{companyId}/{aiKeyUser}");
if (response.IsSuccessStatusCode)
return await response.Content.ReadFromJsonAsync<List<aiResponseDto>>();