Skip to content

Commit 1ef6be3

Browse files
committed
🧪 modify test_user_management_service.py
1 parent 109fe2e commit 1ef6be3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎backend/services/user_management_service.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ async def check_auth_service_health():
9898

9999
data = await response.json()
100100
# Check if the service is available by verifying the name field equals "GoTrue"
101-
if not data or data.get("name") != "GoTrue":
101+
if not data or data.get("name", "") != "GoTrue":
102102
logging.error("Auth service is unavailable")
103103
raise ConnectionError("Auth service is unavailable")
104104

0 commit comments

Comments
 (0)