Remove integer constraint from the transfer token validation

This commit is contained in:
Convly 2023-02-06 10:07:56 +01:00
parent 386579ff66
commit bec1dfd555

View File

@ -11,7 +11,6 @@ const transferTokenCreationSchema = yup
permissions: yup.array().of(yup.string()).nullable(),
lifespan: yup
.number()
.integer()
.min(1)
.oneOf(Object.values(constants.TRANSFER_TOKEN_LIFESPANS))
.nullable(),