Fix links in me request

pull/10616/head
Michael Desa 2017-11-03 09:39:21 -04:00
parent 450a965019
commit 4baa65629a
1 changed files with 1 additions and 1 deletions

View File

@ -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{