We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aecbb0d commit b4eea72Copy full SHA for b4eea72
routers/api/v1/user/key.go
@@ -59,7 +59,7 @@ func GetUserByParamsName(ctx *context.APIContext, name string) *models.User {
59
60
// GetUserByParams returns user whose name is presented in URL paramenter.
61
func GetUserByParams(ctx *context.APIContext) *models.User {
62
- return GetUserByParamsName(ctx, ":username")
+ return GetUserByParamsName(ctx, ctx.Params(":username"))
63
}
64
65
func composePublicKeysAPILink() string {
0 commit comments