mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-26 08:13:33 +01:00
more meaningfull description
This commit is contained in:
parent
a7c7674b3f
commit
413b2b63d9
2 changed files with 4 additions and 4 deletions
|
@ -634,7 +634,7 @@ func AddIssueSubscription(ctx *context.APIContext) {
|
||||||
// "201":
|
// "201":
|
||||||
// "$ref": "#/responses/empty"
|
// "$ref": "#/responses/empty"
|
||||||
// "304":
|
// "304":
|
||||||
// description: User has no right to add subscribe of other user
|
// description: User can only subscribe itself if he is no admin
|
||||||
// "404":
|
// "404":
|
||||||
// description: Issue not found
|
// description: Issue not found
|
||||||
issue, err := models.GetIssueByIndex(ctx.Repo.Repository.ID, ctx.ParamsInt64(":index"))
|
issue, err := models.GetIssueByIndex(ctx.Repo.Repository.ID, ctx.ParamsInt64(":index"))
|
||||||
|
@ -707,7 +707,7 @@ func DelIssueSubscription(ctx *context.APIContext) {
|
||||||
// "201":
|
// "201":
|
||||||
// "$ref": "#/responses/empty"
|
// "$ref": "#/responses/empty"
|
||||||
// "304":
|
// "304":
|
||||||
// description: User has no right to remove subscribe of other user
|
// description: User can only subscribe itself if he is no admin
|
||||||
// "404":
|
// "404":
|
||||||
// description: Issue not found
|
// description: Issue not found
|
||||||
issue, err := models.GetIssueByIndex(ctx.Repo.Repository.ID, ctx.ParamsInt64(":index"))
|
issue, err := models.GetIssueByIndex(ctx.Repo.Repository.ID, ctx.ParamsInt64(":index"))
|
||||||
|
|
|
@ -3827,7 +3827,7 @@
|
||||||
"$ref": "#/responses/empty"
|
"$ref": "#/responses/empty"
|
||||||
},
|
},
|
||||||
"304": {
|
"304": {
|
||||||
"description": "User has no right to add subscribe of other user"
|
"description": "User can only subscribe itself if he is no admin"
|
||||||
},
|
},
|
||||||
"404": {
|
"404": {
|
||||||
"description": "Issue not found"
|
"description": "Issue not found"
|
||||||
|
@ -3882,7 +3882,7 @@
|
||||||
"$ref": "#/responses/empty"
|
"$ref": "#/responses/empty"
|
||||||
},
|
},
|
||||||
"304": {
|
"304": {
|
||||||
"description": "User has no right to remove subscribe of other user"
|
"description": "User can only subscribe itself if he is no admin"
|
||||||
},
|
},
|
||||||
"404": {
|
"404": {
|
||||||
"description": "Issue not found"
|
"description": "Issue not found"
|
||||||
|
|
Loading…
Reference in a new issue