0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-04-06 06:15:30 +02:00

Fix return bug (#34093)

Fix https://github.com/go-gitea/gitea/pull/34031/files#r2021927997
This commit is contained in:
Lunny Xiao 2025-04-01 14:36:46 -07:00 committed by GitHub
parent 92dfec704f
commit 0668cce4e8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -119,8 +119,8 @@ func Transfer(ctx *context.APIContext) {
ctx.APIError(http.StatusForbidden, err)
default:
ctx.APIErrorInternal(err)
return
}
return
}
if ctx.Repo.Repository.Status == repo_model.RepositoryPendingTransfer {