We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d1c79d commit 50b0f36Copy full SHA for 50b0f36
routers/api/v1/repo/transfer.go
@@ -70,6 +70,7 @@ func Transfer(ctx *context.APIContext) {
70
71
if !newOwner.CanCreateRepo() {
72
ctx.APIError(http.StatusForbidden, "The new owner cannot have more repositories")
73
+ return
74
}
75
76
if newOwner.Type == user_model.UserTypeOrganization {
0 commit comments