1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-11-24 08:02:32 +02:00
This commit is contained in:
Ben Toogood 2020-05-13 16:35:57 +01:00
parent fb255a7e5a
commit c831b6c03a

View File

@ -155,7 +155,7 @@ func (a *authWrapper) Call(ctx context.Context, req client.Request, rsp interfac
// if auth is nil we won't be able to get an access token, so we execute
// the request without one.
aa := a.auth()
if a == nil {
if aa == nil {
return a.Client.Call(ctx, req, rsp, opts...)
}