Skip to content

Commit

Permalink
Update createTransactionDto to accept workflowId and workstepId
Browse files Browse the repository at this point in the history
  • Loading branch information
biscuitdey committed Jul 22, 2024
1 parent 6a94209 commit 325b3d1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ export class CreateTransactionDto {
nonce: number;

@IsNotEmpty()
workflowInstanceId: string;
workflowId: string;

@IsNotEmpty()
workstepInstanceId: string;
workstepId: string;

@IsNotEmpty()
fromSubjectAccountId: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,15 @@ export class TransactionDto {
@AutoMap()
nonce: number;

@AutoMap()
workflowId: string;

@AutoMap()
workflowInstanceId: string;

@AutoMap()
workstepId: string;

@AutoMap()
workstepInstanceId: string;

Expand Down

0 comments on commit 325b3d1

Please sign in to comment.