Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 273e308

Browse files
queenvictorialbalmaceda
authored andcommitted
Repair Organisation get by name url.
1 parent 567b804 commit 273e308

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

auth0/v3/management/organizations.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,8 @@ def get_organization_by_name(self, name=None):
5757
5858
See: https://auth0.com/docs/api/management/v2#!/Organizations/get_name_by_name
5959
"""
60-
params = {}
61-
params['name'] = name
60+
return self.client.get(self._url('name', name))
6261

63-
return self.client.get(self._url(), params=params)
64-
6562
def get_organization(self, id):
6663
"""Retrieves an organization by its ID.
6764

0 commit comments

Comments
 (0)