diff --git a/src/resolvers/mutations.ts b/src/resolvers/mutations.ts index d10634e..c8bdfba 100644 --- a/src/resolvers/mutations.ts +++ b/src/resolvers/mutations.ts @@ -316,7 +316,7 @@ const restore = async (model: EntityModel, { where }: { where: any }, ctx: FullC return entity.id; }; -export const createRevision = async (model: EntityModel, data: Entity, ctx: Context) => { +export const createRevision = async (model: EntityModel, data: Entity, ctx: Pick) => { if (model.updatable) { const revisionId = uuid(); const rootRevisionData: Entity = {