fix: %{user_scope}
This commit is contained in:
parent
5827d8e9a2
commit
8368f61c97
@ -43,9 +43,12 @@ func (r *RequestLog) user_id() string {
|
|||||||
|
|
||||||
func (r *RequestLog) user_scope() string {
|
func (r *RequestLog) user_scope() string {
|
||||||
if r.user != nil {
|
if r.user != nil {
|
||||||
|
if r.user.Scope == "" {
|
||||||
|
return "."
|
||||||
|
}
|
||||||
return r.user.Scope
|
return r.user.Scope
|
||||||
}
|
}
|
||||||
return "."
|
return "-"
|
||||||
}
|
}
|
||||||
|
|
||||||
func (r *RequestLog) time_string() string {
|
func (r *RequestLog) time_string() string {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user