This is an automated email from the ASF dual-hosted git repository.

marat pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karavan.git


The following commit(s) were added to refs/heads/main by this push:
     new 9d1808c  Fix #616
9d1808c is described below

commit 9d1808cdcdc68f32e53ac24ef52bd81e8f22bb59
Author: Marat Gubaidullin <marat.gubaidul...@gmail.com>
AuthorDate: Mon Jan 16 18:50:49 2023 -0500

    Fix #616
---
 karavan-core/src/core/api/CamelDefinitionApiExt.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/karavan-core/src/core/api/CamelDefinitionApiExt.ts 
b/karavan-core/src/core/api/CamelDefinitionApiExt.ts
index 111847b..22057e6 100644
--- a/karavan-core/src/core/api/CamelDefinitionApiExt.ts
+++ b/karavan-core/src/core/api/CamelDefinitionApiExt.ts
@@ -367,7 +367,7 @@ export class CamelDefinitionApiExt {
 
     static deleteRestConfigurationFromIntegration = (integration: 
Integration): Integration => {
         const flows: any[] = [];
-        integration.spec.flows?.filter(flow => flow.dslName !== 
'RestConfiguration').forEach(x => flows.push(x));
+        integration.spec.flows?.filter(flow => flow.dslName !== 
'RestConfigurationDefinition').forEach(x => flows.push(x));
         integration.spec.flows = flows;
         return integration;
     }

Reply via email to