Skip to content

Commit 3a1e924

Browse files
committed
Fix push_notification_config
1 parent 8597e89 commit 3a1e924

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/a2a/server/request_handlers/default_request_handler.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ async def on_get_task_push_notification_config(
405405

406406
return TaskPushNotificationConfig(
407407
task_id=params.id,
408-
pushNotificationConfig=push_notification_config[0],
408+
push_notification_config=push_notification_config[0],
409409
)
410410

411411
async def on_resubscribe_to_task(
@@ -471,7 +471,7 @@ async def on_list_task_push_notification_config(
471471
for config in push_notification_config_list:
472472
task_push_notification_config.append(
473473
TaskPushNotificationConfig(
474-
task_id=params.id, pushNotificationConfig=config
474+
task_id=params.id, push_notification_config=config
475475
)
476476
)
477477

0 commit comments

Comments
 (0)