diff --git a/app/api/handler/users/find.go b/app/api/handler/users/find.go index 7e8d6c9e0..594396fcd 100644 --- a/app/api/handler/users/find.go +++ b/app/api/handler/users/find.go @@ -23,7 +23,7 @@ import ( ) // HandleFind returns an http.HandlerFunc that writes json-encoded -// user account information to the the response body. +// user account information to the response body. func HandleFind(userCtrl *user.Controller) http.HandlerFunc { return func(w http.ResponseWriter, r *http.Request) { ctx := r.Context() diff --git a/app/api/request/common.go b/app/api/request/common.go index 2e417724c..f54cb37c3 100644 --- a/app/api/request/common.go +++ b/app/api/request/common.go @@ -62,7 +62,7 @@ func GetOptionalRemainderFromPath(r *http.Request) string { return PathParamOrEmpty(r, PathParamRemainder) } -// GetRemainderFromPath returns the remainder ("*") from the path or an an error if it doesn't exist. +// GetRemainderFromPath returns the remainder ("*") from the path or an error if it doesn't exist. func GetRemainderFromPath(r *http.Request) (string, error) { return PathParamOrError(r, PathParamRemainder) }