fix clients

This commit is contained in:
Asim Aslam
2019-01-10 11:59:45 +00:00
committed by Vasiliy Tolstov
parent 8cc5711289
commit b8105ba4d1
2 changed files with 7 additions and 2 deletions

View File

@@ -74,7 +74,7 @@ func (h *httpClient) call(ctx context.Context, address string, req client.Reques
}
// marshal request
b, err := cf.Marshal(req.Request())
b, err := cf.Marshal(req.Body())
if err != nil {
return errors.InternalServerError("go.micro.client", err.Error())
}