Browse Source

Bugfix: edit ressource

andre 2 years ago
parent
commit
e9fe057f56
1 changed files with 1 additions and 1 deletions
  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);
 
         $result = $this->getClient()->ressource->getAllByDomain($domain);
-        $ressources = $result->getResponseBody()['GETCALENDARRESOURCERESPONSE']['CALRESOURCE'];
+        $ressources = $result->getResponseBody()['GETALLCALENDARRESOURCESRESPONSE']['CALRESOURCE'];
         /**
          * API return one or araay with ressources
          */