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"