merged with fixes
This commit is contained in:
parent
a9e758b712
commit
2f1818d656
176 changed files with 9000 additions and 907 deletions
|
|
@ -16,6 +16,9 @@ func (r *Router) authzFromCtx(ctx context.Context) domain.Authorization {
|
|||
a.AppVersion = ci.AppVersion
|
||||
a.APIID = ci.APIID
|
||||
}
|
||||
if ip, ok := ClientIPFrom(ctx); ok {
|
||||
a.IP = ip
|
||||
}
|
||||
return a
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue