Skip to content

Commit

Permalink
Updating a test to clean up after itself, so needed to re-record
Browse files Browse the repository at this point in the history
  • Loading branch information
Garethp committed Feb 22, 2016
1 parent af373cf commit e6c2d67
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.7.3 - 2016-02-22
* If a response doesn't have a 'ResponseMessages' Property (such as `GetUserAvailabilityResponseType`), then don't drill
down response levels and instead simply return the response

## 0.7.2 - 2016-01-26
* Added `ContactsAPI` for simple usage
* Added examples for the ContactsAPI
Expand Down
4 changes: 4 additions & 0 deletions src/API/ExchangeWebServices.php
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,10 @@ protected function processResponse($response)
return $response;
}

if (!$response->exists('responseMessages')) {
return $response;
}

$response = $response->getResponseMessages();
$response = $this->drillDownResponseLevels($response);

Expand Down

0 comments on commit e6c2d67

Please sign in to comment.