فهرست منبع

Bugfix: edit ressource

andre 2 سال پیش
والد
کامیت
e9fe057f56
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      app/Libs/Zimbra/Components/Api/Soap/Repository/Ressources.php

+ 1 - 1
app/Libs/Zimbra/Components/Api/Soap/Repository/Ressources.php

@@ -31,7 +31,7 @@ class Ressources extends AbstractRepository
         $domain->setName($name);
         $domain->setName($name);
 
 
         $result = $this->getClient()->ressource->getAllByDomain($domain);
         $result = $this->getClient()->ressource->getAllByDomain($domain);
-        $ressources = $result->getResponseBody()['GETCALENDARRESOURCERESPONSE']['CALRESOURCE'];
+        $ressources = $result->getResponseBody()['GETALLCALENDARRESOURCESRESPONSE']['CALRESOURCE'];
         /**
         /**
          * API return one or araay with ressources
          * API return one or araay with ressources
          */
          */