diff --git a/rpc.go b/rpc.go index 7c06b66..d396274 100644 --- a/rpc.go +++ b/rpc.go @@ -113,7 +113,7 @@ func (h *rpcHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { } // micro client - c := h.opts.Service.Client() + c := h.opts.Client // create context cx := ctx.FromRequest(r)