chore: temporary cast to any to avoid compilation error

This commit is contained in:
Convly 2024-03-06 12:03:00 +01:00
parent cd5aeb3b89
commit d09d85e817

View File

@ -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
);