Update API query name for session PR fetch

Changed the API query from 'FetchPRs' to 'FetchPRsForAgentTaskSessions' in hydrateSessionPullRequests to match updated backend endpoint.
This commit is contained in:
Kynan Ware 2025-08-29 14:18:45 -06:00
parent 13c293f4cf
commit bc1d306c31

View file

@ -139,7 +139,7 @@ func (c *CAPIClient) hydrateSessionPullRequests(sessions []session) ([]*Session,
}
host, _ := c.authCfg.DefaultHost()
err := apiClient.Query(host, "FetchPRs", &resp, map[string]any{
err := apiClient.Query(host, "FetchPRsForAgentTaskSessions", &resp, map[string]any{
"ids": prNodeIds,
})