fix: order transaction
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { IsNotEmpty } from 'class-validator';
|
||||
import { IsNotEmpty, IsOptional } from 'class-validator';
|
||||
|
||||
export class OrderTransactionDto {
|
||||
@IsNotEmpty()
|
||||
@@ -7,5 +7,6 @@ export class OrderTransactionDto {
|
||||
@IsNotEmpty()
|
||||
destination: string;
|
||||
|
||||
@IsOptional()
|
||||
trx_id: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user