Skip to content

Commit

Permalink
patch softDelete, bump version to 1.0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
spencerhunter committed Jun 24, 2016
1 parent 79c63ca commit 3469d4b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ The new Dwolla API V2 SDK, as generated by [this fork of swagger-codegen](https:

## Version

1.0.9
1.0.10

## Installation

Expand Down Expand Up @@ -147,6 +147,9 @@ Each model represents the different kinds of requests and responses that can be

## Changelog

1.0.10
* Patch soft delete to deserialize with FundingSource model.

1.0.9
* Add boolean type to fix deserialization

Expand Down
4 changes: 2 additions & 2 deletions lib/FundingsourcesApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ public function id($id) {
*
* @param RemoveBankRequest $body request body to remove a funding source (required)
* @param string $id Funding source ID to remove. (required)
* @return Unit
* @return FundingSource
*/
public function softDelete($body, $id) {

Expand Down Expand Up @@ -449,7 +449,7 @@ public function softDelete($body, $id) {
return null;
}

return $response[0] == 201 ? $response[1] : $this->apiClient->deserialize($response[1],'Unit');
return $response[0] == 201 ? $response[1] : $this->apiClient->deserialize($response[1],'FundingSource');
}

/**
Expand Down

0 comments on commit 3469d4b

Please sign in to comment.