Skip to content

Commit

Permalink
Fix bug that UnmarshalCollectionBody doesn't return an error created …
Browse files Browse the repository at this point in the history
…by UnmarshalCollectionJson (#48)

Co-authored-by: Thomas Meckel <tmeckel@users.noreply.github.com>
  • Loading branch information
tmeckel and tmeckel authored Mar 11, 2020
1 parent 3cd87c5 commit 17093eb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions azuredevops/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,9 @@ func (client *Client) UnmarshalCollectionBody(response *http.Response, v interfa

body = trimByteOrderMark(body)
err = client.UnmarshalCollectionJson(body, v)
if err != nil {
return err
}
}
return nil
}
Expand Down

0 comments on commit 17093eb

Please sign in to comment.