From ffed2b28174d34f70d00336c73d5a4b6efe68d7a Mon Sep 17 00:00:00 2001 From: Daisie Huang Date: Thu, 16 Jan 2025 22:19:42 -0800 Subject: [PATCH] Update auth.py --- src/authx/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/authx/auth.py b/src/authx/auth.py index 695c23f..bcf3f74 100644 --- a/src/authx/auth.py +++ b/src/authx/auth.py @@ -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