Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
peakxie committed Apr 9, 2020
1 parent 4cd30b4 commit 1203424
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion httpx/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func PostP(client *http.Client, url string, request proto.Message, response prot
if response != nil {
err = proto.Unmarshal(rspBody, response)
if err != nil {
return nil, err
return rspBody, err
}
}
return rspBody, nil
Expand Down

0 comments on commit 1203424

Please sign in to comment.