Improve form in account dialog (#2408)
* Improve form in account dialog * Update changelog
This commit is contained in:
@@ -12,7 +12,7 @@ import { isString } from 'lodash';
|
||||
export class CreateAccountDto {
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
accountType: AccountType;
|
||||
accountType?: AccountType;
|
||||
|
||||
@IsNumber()
|
||||
balance: number;
|
||||
|
@@ -12,7 +12,7 @@ import { isString } from 'lodash';
|
||||
export class UpdateAccountDto {
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
accountType: AccountType;
|
||||
accountType?: AccountType;
|
||||
|
||||
@IsNumber()
|
||||
balance: number;
|
||||
|
Reference in New Issue
Block a user