Fix structured output bug (#36193)
This commit is contained in:
parent
3a5263a92f
commit
ac169f5ffd
1 changed files with 4 additions and 1 deletions
|
@ -221,7 +221,10 @@ def parse_password(data):
|
|||
|
||||
|
||||
def parse_roles(data):
|
||||
configured_roles = None
|
||||
if 'TABLE_role' in data:
|
||||
configured_roles = data.get('TABLE_role')['ROW_role']
|
||||
|
||||
roles = list()
|
||||
if configured_roles:
|
||||
for item in to_list(configured_roles):
|
||||
|
|
Loading…
Reference in a new issue