fix: org id in rn
All checks were successful
ci / lint_and_test (push) Successful in 7s

This commit is contained in:
Chris Milne 2026-06-17 13:17:39 +01:00
parent 5d3cb64526
commit 74061d02e0
3 changed files with 5 additions and 5 deletions

View file

@ -81,12 +81,12 @@ async def stop_timer(request: Request, ident: str):
async def test_hub_access(
headers: header_dependency,
client: http_client_dependency,
org_name: Annotated[str, Query()],
org_id: Annotated[int, Query()],
resource_name: Annotated[str, Query()] = "example_resource",
action: Annotated[str, Query()] = "read",
instance: Optional[Annotated[str, Query()]] = None,
):
rn = generate_resource_name(resource=resource_name, org=org_name, instance=instance)
rn = generate_resource_name(resource=resource_name, org=org_id, instance=instance)
request_body = {
"rn": rn.model_dump(),