mirror of
https://github.com/strapi/strapi.git
synced 2025-11-02 10:55:37 +00:00
Remove integer constraint from the transfer token validation
This commit is contained in:
parent
386579ff66
commit
bec1dfd555
@ -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(),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user