mirror of
https://github.com/go-micro/go-micro.git
synced 2024-12-12 08:23:58 +02:00
fix req.Interface() return nil.
This commit is contained in:
parent
0d435a690e
commit
90a1b34195
@ -557,7 +557,7 @@ func (router *router) ProcessMessage(ctx context.Context, msg Message) (err erro
|
||||
}
|
||||
|
||||
// read the body into the handler request value
|
||||
if err = cc.ReadBody(req.Interface()); err != nil {
|
||||
if err = cc.ReadBody(req.Addr().Interface()); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user