Skip to content

Commit 676b59c

Browse files
committed
docs: update comments for OrgSecret functions
- Update the comment for the `UpdateOrgSecret` function - Update the comment for the `DeleteOrgSecret` function Signed-off-by: Bo-Yi Wu <[email protected]>
1 parent 8034027 commit 676b59c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

routers/api/v1/org/action.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ func UpdateOrgSecret(ctx *context.APIContext) {
140140
// "$ref": "#/definitions/UpdateSecretOption"
141141
// responses:
142142
// "204":
143-
// description: membership publicized
143+
// description: update one secret of the organization
144144
// "403":
145145
// "$ref": "#/responses/forbidden"
146146
secretName := ctx.Params(":secretname")
@@ -178,7 +178,7 @@ func DeleteOrgSecret(ctx *context.APIContext) {
178178
// required: true
179179
// responses:
180180
// "204":
181-
// description: membership publicized
181+
// description: delete one secret of the organization
182182
// "403":
183183
// "$ref": "#/responses/forbidden"
184184
secretName := ctx.Params(":secretname")

0 commit comments

Comments
 (0)