Skip to content

Commit

Permalink
fix: return value in bertymessenger.SendAck
Browse files Browse the repository at this point in the history
Signed-off-by: Guillaume Louvigny <glouvigny@users.noreply.github.com>
  • Loading branch information
glouvigny committed Sep 18, 2020
1 parent 84d4ab6 commit 7739e77
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion go/pkg/bertymessenger/api.go
Expand Up @@ -388,7 +388,11 @@ func (svc *service) SendAck(ctx context.Context, request *SendAck_Request) (*Sen
Payload: am,
})

return &SendAck_Reply{}, err
if err != nil {
return nil, err
}

return &SendAck_Reply{}, nil
}

func (svc *service) SendMessage(ctx context.Context, request *SendMessage_Request) (*SendMessage_Reply, error) {
Expand Down

0 comments on commit 7739e77

Please sign in to comment.