From 2783a6c62e4b31b0f5bbe186cf969fb76f067d49 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Fri, 3 Mar 2023 22:51:50 +0100 Subject: [PATCH] gdtSum is float --- backend/src/graphql/model/GdtEntryList.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/graphql/model/GdtEntryList.ts b/backend/src/graphql/model/GdtEntryList.ts index 95d118cf3..0329e4182 100644 --- a/backend/src/graphql/model/GdtEntryList.ts +++ b/backend/src/graphql/model/GdtEntryList.ts @@ -4,7 +4,7 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ /* eslint-disable @typescript-eslint/explicit-module-boundary-types */ import { GdtEntry } from './GdtEntry' -import { ObjectType, Field, Int } from 'type-graphql' +import { ObjectType, Field, Int, Float } from 'type-graphql' @ObjectType() export class GdtEntryList { @@ -25,7 +25,7 @@ export class GdtEntryList { @Field(() => [GdtEntry], { nullable: true }) gdtEntries: GdtEntry[] | null - @Field(() => Int) + @Field(() => Float) gdtSum: number @Field(() => Int)