Skip to content

Commit

Permalink
Do not send parameters back for SHUT & REVEAL actions
Browse files Browse the repository at this point in the history
  • Loading branch information
fracz committed Jun 24, 2024
1 parent 83a4a24 commit 9313796
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function execute(ActionableSubject $subject, array $actionParams = []) {
}

public function transformActionParamsForApi(ActionableSubject $subject, array $actionParams): array {
$params = ['percentage' => '', 'tilt' => ''];
$params = [];
if (isset($actionParams['percentage'])) {
$params['percentage'] = strval($actionParams['percentage']);
} elseif (isset($actionParams['percentageDelta'])) {
Expand Down

0 comments on commit 9313796

Please sign in to comment.