mirror of
https://github.com/strapi/strapi.git
synced 2025-09-26 17:00:55 +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(
|
const validData = await entityValidator.validateEntityUpdate(
|
||||||
model,
|
model,
|
||||||
// Omit id fields, the cloned entity id will be generated by the database
|
// Omit id fields, the cloned entity id will be generated by the database
|
||||||
omit(['id'], data),
|
omit(['id'], data) as any,
|
||||||
{ isDraft, ...params?.lookup },
|
{ isDraft, ...params?.lookup },
|
||||||
entryToClone
|
entryToClone
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user