File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -634,7 +634,7 @@ func AddIssueSubscription(ctx *context.APIContext) {
634
634
// "201":
635
635
// "$ref": "#/responses/empty"
636
636
// "304":
637
- // description: User has no right to add subscribe of other user
637
+ // description: User can only subscribe itself if he is no admin
638
638
// "404":
639
639
// description: Issue not found
640
640
issue , err := models .GetIssueByIndex (ctx .Repo .Repository .ID , ctx .ParamsInt64 (":index" ))
@@ -707,7 +707,7 @@ func DelIssueSubscription(ctx *context.APIContext) {
707
707
// "201":
708
708
// "$ref": "#/responses/empty"
709
709
// "304":
710
- // description: User has no right to remove subscribe of other user
710
+ // description: User can only subscribe itself if he is no admin
711
711
// "404":
712
712
// description: Issue not found
713
713
issue , err := models .GetIssueByIndex (ctx .Repo .Repository .ID , ctx .ParamsInt64 (":index" ))
Original file line number Diff line number Diff line change 3827
3827
"$ref": "#/responses/empty"
3828
3828
},
3829
3829
"304": {
3830
- "description": "User has no right to add subscribe of other user "
3830
+ "description": "User can only subscribe itself if he is no admin "
3831
3831
},
3832
3832
"404": {
3833
3833
"description": "Issue not found"
3882
3882
"$ref": "#/responses/empty"
3883
3883
},
3884
3884
"304": {
3885
- "description": "User has no right to remove subscribe of other user "
3885
+ "description": "User can only subscribe itself if he is no admin "
3886
3886
},
3887
3887
"404": {
3888
3888
"description": "Issue not found"
You can’t perform that action at this time.
0 commit comments