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'];