mirror of
https://github.com/strapi/strapi.git
synced 2025-12-27 15:13:21 +00:00
add lastUsed to yup validation schema
This commit is contained in:
parent
9de7791fad
commit
745a3a8497
@ -38,6 +38,7 @@ const apiTokenUpdateSchema = yup
|
||||
.array()
|
||||
.of(yup.string())
|
||||
.nullable(),
|
||||
lastUsed: yup.date().nullable(),
|
||||
})
|
||||
.noUnknown();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user