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:
parent
a7c7674b3f
commit
413b2b63d9
@ -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"))
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user