mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-05 21:24:38 +02:00
fix swagger
This commit is contained in:
1 parent
21422e9af6
commit
5f8c350a31
3 files changed
-10
No files matched your search
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user