Skip to content

fix(api): align RejectUnmaskingWorkflow reject body with swagger and frontend#628

Merged
BugsGuru merged 1 commit into
mainfrom
fix-unmasking-workflow-reject-reason-ce
May 22, 2026
Merged

fix(api): align RejectUnmaskingWorkflow reject body with swagger and frontend#628
BugsGuru merged 1 commit into
mainfrom
fix-unmasking-workflow-reject-reason-ce

Conversation

@actiontech-bot
Copy link
Copy Markdown
Member

@actiontech-bot actiontech-bot commented May 21, 2026

Summary

  • Flatten RejectUnmaskingWorkflowReq body binding to top-level reject_reason, matching Swagger body schema and SQL workbench client payload.

Problem

Reject API expected nested reject_unmasking_workflow, while clients send flat { "reject_reason": "..." }, causing validator error on RejectUnmaskingWorkflow required field.

Test plan

  • POST reject with { "reject_reason": "test" } returns 200
  • Empty/missing reject_reason returns 400

Related: actiontech/dms-ee#821

Made with Cursor

@BugsGuru BugsGuru merged commit 0c651d4 into main May 22, 2026
1 check passed
@BugsGuru BugsGuru deleted the fix-unmasking-workflow-reject-reason-ce branch May 22, 2026 05: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.

3 participants