From 952a76e905896fc2af4c307f332e089cafe45247 Mon Sep 17 00:00:00 2001 From: "rodrigo.zamboni" Date: Wed, 7 Sep 2022 11:22:03 -0300 Subject: [PATCH] FIX: fixing empty string netwoer_config_id field on test credentials --- src/modules/connection-test/connection-test.service.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/modules/connection-test/connection-test.service.ts b/src/modules/connection-test/connection-test.service.ts index 0adf338..6e78443 100644 --- a/src/modules/connection-test/connection-test.service.ts +++ b/src/modules/connection-test/connection-test.service.ts @@ -99,6 +99,10 @@ export class ConnectionTestService { username, }); + if (body.network_config_id == '') { + body.network_config_id = undefined; + } + /********* CREATE CONNECTION *********/ if (!connection_id) { const properties: DatabaseConnectionPropertiesDto = {