mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Fix bug when migrating repository (#34182)
This PR fixed a bug which is a regression from #31035
This commit is contained in:
@@ -181,7 +181,7 @@ func Migrate(ctx *context.APIContext) {
|
||||
IsPrivate: opts.Private || setting.Repository.ForcePrivate,
|
||||
IsMirror: opts.Mirror,
|
||||
Status: repo_model.RepositoryBeingMigrated,
|
||||
})
|
||||
}, false)
|
||||
if err != nil {
|
||||
handleMigrateError(ctx, repoOwner, err)
|
||||
return
|
||||
|
Reference in New Issue
Block a user