mirror of
https://github.com/strapi/strapi.git
synced 2025-09-25 16:29:34 +00:00
chore: temporary cast to any to avoid compilation error
This commit is contained in:
parent
cd5aeb3b89
commit
d09d85e817
@ -222,7 +222,7 @@ const createDocumentEngine = ({
|
||||
const validData = await entityValidator.validateEntityUpdate(
|
||||
model,
|
||||
// Omit id fields, the cloned entity id will be generated by the database
|
||||
omit(['id'], data),
|
||||
omit(['id'], data) as any,
|
||||
{ isDraft, ...params?.lookup },
|
||||
entryToClone
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user