Skip to content

Commit 437d50f

Browse files
authored
Use documented deactivation status for customers and subscriptions
1 parent ddda3c9 commit 437d50f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: src/Api/Operator/Customer.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public function enable(string $field, $value): bool
7272
*/
7373
public function disable(string $field, $value): bool
7474
{
75-
return $this->setProperties($field, $value, ['status' => 1]);
75+
return $this->setProperties($field, $value, ['status' => 16]);
7676
}
7777

7878
/**

Diff for: src/Api/Operator/Webspace.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ public function enable(string $field, $value): bool
172172
*/
173173
public function disable(string $field, $value): bool
174174
{
175-
return $this->setProperties($field, $value, ['status' => 1]);
175+
return $this->setProperties($field, $value, ['status' => 16]);
176176
}
177177

178178
/**

0 commit comments

Comments
 (0)