Skip to content

Commit 0c651d4

Browse files
authored
Merge pull request #628 from actiontech/fix-unmasking-workflow-reject-reason-ce
fix(api): align RejectUnmaskingWorkflow reject body with swagger and frontend
2 parents f138989 + 3b1f816 commit 0c651d4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

api/dms/service/v1/unmasking_workflow.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ type RejectUnmaskingWorkflowReq struct {
230230
WorkflowID string `param:"workflow_id" json:"workflow_id" validate:"required"`
231231
// in: body
232232
// Required: true
233-
RejectUnmaskingWorkflow *RejectUnmaskingWorkflow `json:"reject_unmasking_workflow" validate:"required"`
233+
RejectReason string `json:"reject_reason" validate:"required"`
234234
}
235235

236236
// swagger:model RejectUnmaskingWorkflow
@@ -280,7 +280,7 @@ type ActivateUnmaskingWorkflowViewReply struct {
280280

281281
// swagger:model ActivateUnmaskingWorkflowViewReplyData
282282
type ActivateUnmaskingWorkflowViewReplyData struct {
283-
ViewValidUntil string `json:"view_valid_until"`
283+
ViewValidUntil string `json:"view_valid_until"`
284284
ViewState biz.UnmaskingWorkflowViewState `json:"view_state"`
285285
}
286286

0 commit comments

Comments
 (0)