Commit 88cb2aa
committed
fix: return updated extended card in JsonRpcTransport.get_card()
The get_card() method was incorrectly returning a stale local variable
'card' instead of the updated 'self.agent_card' after fetching the
authenticated extended card from the server.
This caused callers to receive outdated basic card information instead
of the extended card with additional authentication capabilities.
- Line 316: Changed 'return card' to 'return self.agent_card'
- Fixes critical logic bug where extended card data was fetched but not returned1 parent 86c6759 commit 88cb2aa
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
424 | 424 | | |
425 | 425 | | |
426 | 426 | | |
427 | | - | |
| 427 | + | |
428 | 428 | | |
429 | 429 | | |
430 | 430 | | |
| |||
0 commit comments