fix: example update for new hub response model

This commit is contained in:
Chris Milne 2026-06-10 16:20:42 +01:00
parent 8c79da4fed
commit 4dcfb443f6

View file

@ -89,8 +89,6 @@ async def test_hub_access(headers: header_dependency, client: http_client_depend
)
response = {
"resource_name": rn,
"action": action,
"response": {
"status": hub_response.status_code,
"json": hub_response.json()
@ -101,7 +99,7 @@ async def test_hub_access(headers: header_dependency, client: http_client_depend
@router.get("/hub/user")
async def test_hub_access(headers: header_dependency, client: http_client_dependency):
async def test_hub_user_details(headers: header_dependency, client: http_client_dependency):
hub_response = await client.get(
f"http://localhost:8001/api/v1/user/self/db",
headers=headers