Fix links in me request
parent
450a965019
commit
4baa65629a
|
@ -29,7 +29,7 @@ func newMeResponse(usr *chronograf.User) meResponse {
|
|||
base := "/chronograf/v1/users"
|
||||
name := "me"
|
||||
if usr != nil {
|
||||
name = PathEscape(usr.Name)
|
||||
name = PathEscape(fmt.Sprintf("%d", usr.ID))
|
||||
}
|
||||
|
||||
return meResponse{
|
||||
|
|
Loading…
Reference in New Issue