Skip to content

Commit

Permalink
Merge pull request #346 from webitel/fix/agent-api
Browse files Browse the repository at this point in the history
feature:changed agent chat service in agent chat api [WTEL-5456]
  • Loading branch information
liza-pohranichna authored Nov 7, 2024
2 parents 3c42216 + d153ba8 commit 75cb55d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@webitel/ui-sdk",
"version": "24.10.61",
"version": "24.10.62",
"private": false,
"scripts": {
"dev": "vite",
Expand Down
4 changes: 2 additions & 2 deletions src/api/clients/agents/agentChats.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { AgentChatServiceApi } from 'webitel-sdk';
import { AgentChatServiceApiFactory } from 'webitel-sdk';
import {
getDefaultInstance,
getDefaultOpenAPIConfig,
Expand All @@ -14,7 +14,7 @@ const { t } = i18n.global;
const instance = getDefaultInstance();
const configuration = getDefaultOpenAPIConfig();

const agentChatsService = new AgentChatServiceApi(configuration, '', instance);
const agentChatsService = new AgentChatServiceApiFactory(configuration, '', instance);

const getChatsList = async (params) => {
const { onlyClosed } = params;
Expand Down

0 comments on commit 75cb55d

Please sign in to comment.