Skip to content

Commit 99988d9

Browse files
authored
Fix coroutine 'MCPAppClient.get_app_by_name' was never awaited (#583)
1 parent 443982f commit 99988d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mcp_agent/cli/mcp_app/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ async def get_app_id_by_name(self, name: str) -> Optional[str]:
386386
httpx.HTTPStatusError: If the API returns an error
387387
httpx.HTTPError: If the request fails
388388
"""
389-
app = self.get_app_by_name(name)
389+
app = await self.get_app_by_name(name)
390390
return app.appId if app else None
391391

392392
async def deploy_app(

0 commit comments

Comments
 (0)