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:
parent
92dfec704f
commit
0668cce4e8
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user