|
|
@@ -113,8 +113,8 @@ class Ressources extends AbstractRepository
|
|
|
if(!$result->getLastError())
|
|
|
{
|
|
|
$body = $result->getResponseBody();
|
|
|
- $result = $ressource->fill($body['GETressourceINFORESPONSE']);
|
|
|
- $result->setName($body['GETressourceINFORESPONSE']['NAME']['DATA']);
|
|
|
+ $result = $ressource->fill($body['GETRESSOURCEINFORESPONSE']);
|
|
|
+ $result->setName($body['GETRESSOURCEINFORESPONSE']['NAME']['DATA']);
|
|
|
return $result;
|
|
|
}
|
|
|
|
|
|
@@ -135,7 +135,7 @@ class Ressources extends AbstractRepository
|
|
|
if(!$result->getLastError())
|
|
|
{
|
|
|
$body = $result->getResponseBody();
|
|
|
- return $ressource->fill($body['GETressourceRESPONSE']['ressource']);
|
|
|
+ return $ressource->fill($body['GETRESSOURCERESPONSE']['RESSOURCE']);
|
|
|
}
|
|
|
|
|
|
return $result;
|