Skip to content

Commit

Permalink
Update auth.py
Browse files Browse the repository at this point in the history
  • Loading branch information
daisieh committed Jan 17, 2025
1 parent 1da8162 commit ffed2b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/authx/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ def remove_program_from_opa(program_id):
def list_role_types_in_opa():
result, status_code = get_service_store_secret("opa", key=f"site_roles")
if status_code == 200:
return result['site_roles'], 200
return result['site_roles'].keys(), 200
return result, status_code


Expand Down

0 comments on commit ffed2b2

Please sign in to comment.