andre 2 лет назад
Родитель
Сommit
23e372f744

+ 8 - 8
app/Libs/Zimbra/Components/Api/Soap/Services/Create/CreateDomainAlias.php

@@ -74,20 +74,20 @@ class CreateDomainAlias extends ApiService
         $domain->setAttr(Domain::ATTR_DOMAIN_TYPE, Domain::TYPE_ALIAS);
         $domain->setAttr(Domain::ATTR_DESCRIPTION, $this->formData['description']);
 
-        logModuleCall(
-            'zimbraEmail',
-            __FUNCTION__,
-            $this->formData,
-            'Debug API Response',
-            $domain
-        );
-
         /**
          *
          * send request to ZIMBRA
          */
         $result = $this->api->domain->create($domain);
 
+        logModuleCall(
+            'zimbraEmail',
+            __FUNCTION__,
+            $domain,
+            'Debug API Response',
+            $result
+        );
+
         /**
          * check if error occurred
          */