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