MSP-1905 update dependencies
This commit is contained in:
1 parent
db6fa9aab6
commit
4a74b91e41
13 files changed
+164
-592
No files matched your search
@@ -29,7 +29,7 @@ func (i Router) Invoke(methodPath string, request interface{}, metadata map[stri
|
||||
|
||||
var response interface{}
|
||||
|
||||
err := i.cli.Invoke(methodPath).JsonRequestBody(request).ReadJsonResponse(&response).Do(ctx)
|
||||
err := i.cli.Invoke(methodPath).JsonRequestBody(request).JsonResponseBody(&response).Do(ctx)
|
||||
if err != nil {
|
||||
return nil, errors.WithMessage(err, "invoke")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user