From b90bb8da3dbe8a60da446042a7b24f3256a64a36 Mon Sep 17 00:00:00 2001 From: lizacoma Date: Wed, 1 May 2024 12:13:35 +0300 Subject: [PATCH] fix: changed api service name in team flows api [WTEL-4474] --- .../modules/teams/modules/flow/api/teamFlows.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/contact-center/modules/teams/modules/flow/api/teamFlows.js b/src/modules/contact-center/modules/teams/modules/flow/api/teamFlows.js index aff53b8d7..ad2e84e15 100644 --- a/src/modules/contact-center/modules/teams/modules/flow/api/teamFlows.js +++ b/src/modules/contact-center/modules/teams/modules/flow/api/teamFlows.js @@ -1,4 +1,4 @@ -import { TeamTriggerServiceApi } from 'webitel-sdk'; +import { TeamTriggerServiceApiFactory } from 'webitel-sdk'; import { getDefaultGetListResponse, getDefaultGetParams, @@ -13,7 +13,7 @@ import applyTransform, { import instance from '../../../../../../../app/api/instance'; import configuration from '../../../../../../../app/api/openAPIConfig'; -const flowSchemaService = new TeamTriggerServiceApi(configuration, '', instance); +const flowSchemaService = new TeamTriggerServiceApiFactory(configuration, '', instance); const fieldsToSend = ['name', 'schema', 'enabled', 'description'];