mirror of
https://github.com/strapi/strapi.git
synced 2025-12-26 22:54:31 +00:00
lastUsedAt isn't a valid update field
This commit is contained in:
parent
e3961fb298
commit
e79617b094
@ -20,7 +20,6 @@ const apiTokenUpdateSchema = yup
|
||||
description: yup.string().nullable(),
|
||||
type: yup.string().oneOf(Object.values(constants.API_TOKEN_TYPE)).notNull(),
|
||||
permissions: yup.array().of(yup.string()).nullable(),
|
||||
lastUsedAt: yup.date().nullable(),
|
||||
})
|
||||
.noUnknown();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user