Skip to content

Commit

Permalink
Fix for treating $response as object instead of array
Browse files Browse the repository at this point in the history
Realted to #2
  • Loading branch information
hajekj committed Dec 11, 2015
1 parent f5d2482 commit 94a2060
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Provider/Azure.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function getObjects($tenant, $ref, $accessToken, $objects = [])
$response = $this->request('GET', $tenant."/".$ref, $accessToken, []);

if ($response) {
$values = $response->value;
$values = $response['value'];
foreach ($values as $value) {
$objects[] = $value;
}
Expand Down

0 comments on commit 94a2060

Please sign in to comment.