Skip to content

feat: add KYC log data to compliance support endpoint#3436

Merged
bernd2022 merged 1 commit intodevelopfrom
feature/compliance-kyc-log-tab
Mar 16, 2026
Merged

feat: add KYC log data to compliance support endpoint#3436
bernd2022 merged 1 commit intodevelopfrom
feature/compliance-kyc-log-tab

Conversation

@bernd2022
Copy link
Collaborator

Summary

  • Add kycLogs field to the /support/:id response with type, comment and created date
  • Add getLogsByUserDataId() to KycLogService using QueryBuilder to include all log subtypes (StepLog, NameCheckLog, ManualLog, etc.)
  • Add KYC step and KYC log test data to the local seed script (testdata.js)

Test plan

  • Start API locally, call GET /support/:id and verify kycLogs array is populated
  • Verify all KYC log types are returned (not just KycLog base type)
  • Run npm test — all tests pass

Add kycLogs to the /support/:id response so the compliance UI
can display the full KYC audit trail per user. Uses QueryBuilder
to bypass TypeORM table-inheritance discriminator filtering.
Also adds KYC step and log test data to the local seed script.
@bernd2022 bernd2022 merged commit 08fa1bd into develop Mar 16, 2026
8 checks passed
@bernd2022 bernd2022 deleted the feature/compliance-kyc-log-tab branch March 16, 2026 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants