Browse Source

Bugfix/fix type error in CreateAccountWithBalancesDto (#5945)

* Refactor import
pull/5946/head
Thomas Kaul 2 weeks ago
committed by GitHub
parent
commit
e75be9d82a
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 3
      libs/common/src/lib/dtos/create-account-with-balances.dto.ts

3
libs/common/src/lib/dtos/create-account-with-balances.dto.ts

@ -1,8 +1,9 @@
import { CreateAccountDto } from '@ghostfolio/common/dtos';
import { AccountBalance } from '@ghostfolio/common/interfaces';
import { IsArray, IsOptional } from 'class-validator';
import { CreateAccountDto } from './create-account.dto';
export class CreateAccountWithBalancesDto extends CreateAccountDto {
@IsArray()
@IsOptional()

Loading…
Cancel
Save