feat(kyc-controller): add session disclaimer fetching without sessionId - #10011
feat(kyc-controller): add session disclaimer fetching without sessionId#10011jiexi wants to merge 2 commits into
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit d58a971. Configure here.
| SessionDisclaimersResponseStruct, | ||
| 'session disclaimers', | ||
| GlobalDisclaimersResponseStruct, | ||
| 'disclaimers', |
There was a problem hiding this comment.
One method serves two endpoints
Medium Severity
fetchSessionDisclaimers now performs both GET /sessions/{sessionId}/disclaimers and GET /disclaimers, with different response shapes. Data-service methods are meant to map to a single endpoint, and these overloads also collapse to the last signature in messenger call types, so the existing { sessionId } path no longer type-checks as a session catalog.
Triggered by project rule: Guidance for Bugbot
Reviewed by Cursor Bugbot for commit d58a971. Configure here.


Explanation
fetchDisclaimerstofetchVendorDisclaimersfetchSessionDisclaimerswithout sessionId, using only country codeReferences
Checklist
Note
Cursor Bugbot is generating a summary for commit d58a971. Configure here.