|
@@ -329,7 +329,7 @@ class Services extends ApiServices
|
|
|
$ch = new Checks();
|
|
|
$id = $ch->integer($request, "id");
|
|
|
$workflow = "administrative_state";
|
|
|
- $transition = "active_to_suspend";
|
|
|
+ $transition = "suspend";
|
|
|
|
|
|
$apiInstance->setDisabledTenancy(true);
|
|
|
$result = $apiInstance->getById($id);
|
|
@@ -369,7 +369,7 @@ class Services extends ApiServices
|
|
|
$ch = new Checks();
|
|
|
$id = $ch->integer($request, "id");
|
|
|
$workflow = "administrative_state";
|
|
|
- $transition = "suspend_to_active";
|
|
|
+ $transition = "active";
|
|
|
|
|
|
$apiInstance->setDisabledTenancy(true);
|
|
|
$result = $apiInstance->getById($id);
|