4
1
Fork 0

GetUserByUsername mispelled username

pull/24/head
Daniel Lim 2019-07-04 05:32:38 +08:00
parent 36ae44d829
commit 3c3f26086d
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ func (h *Handler) GetUser(w http.ResponseWriter, r *http.Request, p httprouter.P
func (h *Handler) GetUserByUsername(w http.ResponseWriter, r *http.Request, p httprouter.Params) {
// Parse
username := p.ByName("userername")
username := p.ByName("username")
// Response object
user := User{}