Skip to content

Commit

Permalink
Use documented deactivation status for customers and subscriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
ayvazyan10 authored May 24, 2024
1 parent ddda3c9 commit 437d50f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Api/Operator/Customer.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function enable(string $field, $value): bool
*/
public function disable(string $field, $value): bool
{
return $this->setProperties($field, $value, ['status' => 1]);
return $this->setProperties($field, $value, ['status' => 16]);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Api/Operator/Webspace.php
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ public function enable(string $field, $value): bool
*/
public function disable(string $field, $value): bool
{
return $this->setProperties($field, $value, ['status' => 1]);
return $this->setProperties($field, $value, ['status' => 16]);
}

/**
Expand Down

0 comments on commit 437d50f

Please sign in to comment.