gdt balance is a float

This commit is contained in:
Ulf Gebhardt 2023-03-03 22:50:46 +01:00
parent 19adc53ed7
commit 16914e3d98
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -1,4 +1,4 @@
import { ObjectType, Field, Int } from 'type-graphql'
import { ObjectType, Field, Int, Float } from 'type-graphql'
import Decimal from 'decimal.js-light'
@ObjectType()
@ -19,7 +19,7 @@ export class Balance {
@Field(() => Decimal)
balance: Decimal
@Field(() => Int, { nullable: true })
@Field(() => Float, { nullable: true })
balanceGDT: number | null
// the count of all transactions