[#342] v2/reputation: Fix incorrect return of AnnounceIntermediateResult
Return `AnnounceIntermediateResultResponse` instead of `AnnounceIntermediateResultRequest` from `rpc.AnnounceIntermediateResult`. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
e887368be6
commit
3844a3ac74
1 changed files with 2 additions and 2 deletions
|
@ -34,8 +34,8 @@ func AnnounceIntermediateResult(
|
|||
cli *client.Client,
|
||||
req *reputation.AnnounceIntermediateResultRequest,
|
||||
opts ...client.CallOption,
|
||||
) (*reputation.AnnounceIntermediateResultRequest, error) {
|
||||
resp := new(reputation.AnnounceIntermediateResultRequest)
|
||||
) (*reputation.AnnounceIntermediateResultResponse, error) {
|
||||
resp := new(reputation.AnnounceIntermediateResultResponse)
|
||||
|
||||
err := client.SendUnary(cli, common.CallMethodInfoUnary(serviceReputation, rpcReputationAnnounceIntermediateResult), req, resp, opts...)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in a new issue