From 16914e3d985467ad873ce49fd5c1463c4945939f Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Fri, 3 Mar 2023 22:50:46 +0100 Subject: [PATCH] gdt balance is a float --- backend/src/graphql/model/Balance.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/graphql/model/Balance.ts b/backend/src/graphql/model/Balance.ts index 78844c5ee..9b54f6987 100644 --- a/backend/src/graphql/model/Balance.ts +++ b/backend/src/graphql/model/Balance.ts @@ -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