fix swagger

This commit is contained in:
techknowlogick committed 2025-07-15 17:45:48 -04:00
1 parent 21422e9af6
commit 5f8c350a31
3 files changed
-10

No files matched your search

-2
View File
@@ -80,8 +80,6 @@ func RegenerateMirrorSSHKey(ctx *context.APIContext) {
// type: string
// "403":
// "$ref": "#/responses/forbidden"
// "500":
// "$ref": "#/responses/internalServerError"
keypair, err := mirror_service.RegenerateSSHKeypairForOrg(ctx, ctx.Org.Organization.ID)
if err != nil {
-2
View File
@@ -64,8 +64,6 @@ func RegenerateMirrorSSHKey(ctx *context.APIContext) {
// type: string
// fingerprint:
// type: string
// "500":
// "$ref": "#/responses/internalServerError"
keypair, err := mirror_service.RegenerateSSHKeypairForUser(ctx, ctx.Doer.ID)
if err != nil {