From 8eb85e7f55177c073c707568cbea2f78827b9a53 Mon Sep 17 00:00:00 2001 From: volodymyr Date: Mon, 17 Jun 2024 17:28:36 +0300 Subject: [PATCH 1/2] fix: flow tags search fixed [WTEL-4589] --- src/modules/routing/modules/flow/api/flow.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/routing/modules/flow/api/flow.js b/src/modules/routing/modules/flow/api/flow.js index fd87251fb..fce7f1f5e 100644 --- a/src/modules/routing/modules/flow/api/flow.js +++ b/src/modules/routing/modules/flow/api/flow.js @@ -24,7 +24,7 @@ const flowService = new RoutingSchemaServiceApiFactory(configuration, '', instan CONVERT "SCHEMA" FIELD TO JSON TO PREVENT ITS CHANGE BY CAMEL-SNAKE TRANSFORMERS */ -const doNotConvertKeys = ['schema']; +const doNotConvertKeys = ['schema', 'tags']; const fieldsToSend = ['name', 'schema', 'type', 'payload', 'editor', 'tags']; @@ -77,6 +77,7 @@ const getFlowList = async (params) => { undefined, tags, ); + console.log('tags', tags); const { items, next } = applyTransform(response.data, [ snakeToCamel(doNotConvertKeys), merge(getDefaultGetListResponse()), From 3cdcc57255a3a90b8de4d660d1062bf107b45545 Mon Sep 17 00:00:00 2001 From: volodymyr Date: Mon, 17 Jun 2024 17:30:27 +0300 Subject: [PATCH 2/2] refactor: code clearing [WTEL-4589] --- src/modules/routing/modules/flow/api/flow.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/modules/routing/modules/flow/api/flow.js b/src/modules/routing/modules/flow/api/flow.js index fce7f1f5e..467e033ac 100644 --- a/src/modules/routing/modules/flow/api/flow.js +++ b/src/modules/routing/modules/flow/api/flow.js @@ -77,7 +77,6 @@ const getFlowList = async (params) => { undefined, tags, ); - console.log('tags', tags); const { items, next } = applyTransform(response.data, [ snakeToCamel(doNotConvertKeys), merge(getDefaultGetListResponse()),