Skip to content
This repository has been archived by the owner on Jul 31, 2021. It is now read-only.

Commit

Permalink
[ESD-12815] Fix excluded enabled clients (#143)
Browse files Browse the repository at this point in the history
* fix connections without enabled_clients

* 4.7.1

* fix
  • Loading branch information
luisbritos authored Apr 21, 2021
1 parent c122988 commit 1e81287
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion src/auth0/handlers/connections.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
Expand Down

0 comments on commit 1e81287

Please sign in to comment.