diff --git a/package-lock.json b/package-lock.json index 17803f8..d261b74 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "auth0-source-control-extension-tools", - "version": "4.7.0", + "version": "4.7.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 84c267f..585e07b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "auth0-source-control-extension-tools", - "version": "4.7.0", + "version": "4.7.1", "description": "Supporting tools for the Source Control extensions", "main": "lib/index.js", "scripts": { diff --git a/src/auth0/handlers/connections.js b/src/auth0/handlers/connections.js index fcaa054..43f01f9 100644 --- a/src/auth0/handlers/connections.js +++ b/src/auth0/handlers/connections.js @@ -72,7 +72,7 @@ export default class ConnectionsHandler extends DefaultHandler { { ...connection, ...this.getFormattedOptions(connection, clients), - enabled_clients: getEnabledClients(assets, connection, existingConexions, clients) + ...(connection.enabled_clients && { enabled_clients: getEnabledClients(assets, connection, existingConexions, clients) }) } )); return super.calcChanges({ ...assets, connections: formatted });