fix: order transaction

This commit is contained in:
ilham 2021-12-31 14:43:10 +07:00
parent 412874a057
commit 6d869eee25

View File

@ -1,4 +1,4 @@
import { IsNotEmpty } from 'class-validator'; import { IsNotEmpty, IsOptional } from 'class-validator';
export class OrderTransactionDto { export class OrderTransactionDto {
@IsNotEmpty() @IsNotEmpty()
@ -7,5 +7,6 @@ export class OrderTransactionDto {
@IsNotEmpty() @IsNotEmpty()
destination: string; destination: string;
@IsOptional()
trx_id: string; trx_id: string;
} }