We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63c03d8 commit e898a6cCopy full SHA for e898a6c
src/viam/app/app_client.py
@@ -1444,7 +1444,7 @@ async def list_keys(self) -> List[APIKeyWithAuthorizations]:
1444
1445
Returns:
1446
List[viam.proto.app.APIKeyWithAuthorizations]: The existing API keys and authorizations."""
1447
- org_id = self._get_organization_id()
+ org_id = await self._get_organization_id()
1448
request = ListKeysRequest(org_id=org_id)
1449
response: ListKeysResponse = await self._app_client.ListKeys(request, metadata=self._metadata)
1450
- return response.api_keys
+ return [key for key in response.api_keys]
0 commit comments