diff --git a/backend/src/graphql/model/Decay.ts b/backend/src/graphql/model/Decay.ts index 0c199f527..f1204e730 100644 --- a/backend/src/graphql/model/Decay.ts +++ b/backend/src/graphql/model/Decay.ts @@ -1,4 +1,4 @@ -import { ObjectType, Field } from 'type-graphql' +import { ObjectType, Field, Int } from 'type-graphql' import Decimal from 'decimal.js-light' @ObjectType() @@ -29,6 +29,6 @@ export class Decay { @Field(() => Date, { nullable: true }) end: Date | null - @Field(() => Number, { nullable: true }) + @Field(() => Int, { nullable: true }) duration: number | null }