diff --git a/src/utilities/effects.ts b/src/utilities/effects.ts index 668123f8eb..6b3c73825e 100644 --- a/src/utilities/effects.ts +++ b/src/utilities/effects.ts @@ -5664,20 +5664,14 @@ const effects = { if (!queryPermissions.UPDATE_CONSTRAINT_PLAN_SPECIFICATION(user, plan)) { throwPermissionError('update this constraint plan specification'); } - const { - enabled, - constraint_id: constraintId, - invocation_id, - constraint_revision: revision, - } = constraintPlanSpecification; + const { enabled, invocation_id, constraint_revision: revision } = constraintPlanSpecification; const { updateConstraintPlanSpecification } = await reqHasura( gql.UPDATE_CONSTRAINT_PLAN_SPECIFICATION, { arguments: constraintPlanSpecification.arguments, + constraintInvocationId: invocation_id, enabled, - id: constraintId, - invocation_id, revision, }, user,