mirror of
https://github.com/gogs/gogs.git
synced 2025-12-22 00:00:07 +01:00
chore: fix typos in code comments (#6556)
This commit is contained in:
@@ -26,7 +26,7 @@ func GetUserByParamsName(c *context.APIContext, name string) *db.User {
|
||||
return user
|
||||
}
|
||||
|
||||
// GetUserByParams returns user whose name is presented in URL paramenter.
|
||||
// GetUserByParams returns user whose name is presented in URL parameter.
|
||||
func GetUserByParams(c *context.APIContext) *db.User {
|
||||
return GetUserByParamsName(c, ":username")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user