decay duration now is an integer

This commit is contained in:
Ulf Gebhardt 2022-03-04 12:34:04 +01:00
parent 008331d43f
commit 1f0886585e
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -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
}