Skip to content

Commit ff4af5a

Browse files
authored
Apply suggestions from code review
1 parent 67750c2 commit ff4af5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/a2a/server/apps/jsonrpc/starlette_app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,12 @@ def add_routes_to_app(
5757
rpc_url: The URL path for the A2A JSON-RPC endpoint (POST requests).
5858
extended_agent_card_url: The URL for the authenticated extended agent card endpoint.
5959
"""
60-
app_routes = self.routes(
60+
routes = self.routes(
6161
agent_card_url=agent_card_url,
6262
rpc_url=rpc_url,
6363
extended_agent_card_url=extended_agent_card_url,
6464
)
65-
app.routes.extend(app_routes)
65+
app.routes.extend(routes)
6666

6767
def build(
6868
self,

0 commit comments

Comments
 (0)