Fixes some typos
This commit is contained in:
Nicolas
2026-04-21 21:56:14 +02:00
committed by GitHub
parent b4f48a64fc
commit 732e23258e
12 changed files with 28 additions and 28 deletions
+2 -2
View File
@@ -13,7 +13,7 @@ import (
user_service "code.gitea.io/gitea/services/user"
)
// UpdateAvatar updates the Avatar of an User
// UpdateAvatar updates the Avatar of a User
func UpdateAvatar(ctx *context.APIContext) {
// swagger:operation POST /user/avatar user userUpdateAvatar
// ---
@@ -45,7 +45,7 @@ func UpdateAvatar(ctx *context.APIContext) {
ctx.Status(http.StatusNoContent)
}
// DeleteAvatar deletes the Avatar of an User
// DeleteAvatar deletes the Avatar of a User
func DeleteAvatar(ctx *context.APIContext) {
// swagger:operation DELETE /user/avatar user userDeleteAvatar
// ---
+1 -1
View File
@@ -14,7 +14,7 @@ import (
func CreateRegistrationToken(ctx *context.APIContext) {
// swagger:operation POST /user/actions/runners/registration-token user userCreateRunnerRegistrationToken
// ---
// summary: Get an user's actions runner registration token
// summary: Get a user's actions runner registration token
// produces:
// - application/json
// parameters: