Skip to content

Commit edbbfb7

Browse files
committed
we also change no fields for depredated operations
1 parent 376cf7b commit edbbfb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Service/Operation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ public function update(string $operationId, OperationUpdate $operation, UserCont
129129

130130
$this->validator->assert($operation, $context->getCategoryId(), $context->getTenantId(), $existing);
131131

132-
$isStable = in_array($existing->getStability(), [OperationInterface::STABILITY_STABLE, OperationInterface::STABILITY_LEGACY], true);
132+
$isStable = in_array($existing->getStability(), [OperationInterface::STABILITY_STABLE, OperationInterface::STABILITY_DEPRECATED, OperationInterface::STABILITY_LEGACY], true);
133133

134134
try {
135135
$this->operationTable->beginTransaction();

0 commit comments

Comments
 (0)