1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 01:54:26 +00:00

more meaningfull description

This commit is contained in:
6543 2019-10-29 15:38:33 +01:00
parent a7c7674b3f
commit 413b2b63d9
No known key found for this signature in database
GPG Key ID: A1CA74D27FD13271
2 changed files with 4 additions and 4 deletions

View File

@ -634,7 +634,7 @@ func AddIssueSubscription(ctx *context.APIContext) {
// "201":
// "$ref": "#/responses/empty"
// "304":
// description: User has no right to add subscribe of other user
// description: User can only subscribe itself if he is no admin
// "404":
// description: Issue not found
issue, err := models.GetIssueByIndex(ctx.Repo.Repository.ID, ctx.ParamsInt64(":index"))
@ -707,7 +707,7 @@ func DelIssueSubscription(ctx *context.APIContext) {
// "201":
// "$ref": "#/responses/empty"
// "304":
// description: User has no right to remove subscribe of other user
// description: User can only subscribe itself if he is no admin
// "404":
// description: Issue not found
issue, err := models.GetIssueByIndex(ctx.Repo.Repository.ID, ctx.ParamsInt64(":index"))

View File

@ -3827,7 +3827,7 @@
"$ref": "#/responses/empty"
},
"304": {
"description": "User has no right to add subscribe of other user"
"description": "User can only subscribe itself if he is no admin"
},
"404": {
"description": "Issue not found"
@ -3882,7 +3882,7 @@
"$ref": "#/responses/empty"
},
"304": {
"description": "User has no right to remove subscribe of other user"
"description": "User can only subscribe itself if he is no admin"
},
"404": {
"description": "Issue not found"