mirror of
https://github.com/go-gitea/gitea
synced 2024-12-22 04:57:51 +01:00
through API. Same fix, using form.CloneAddr instead of opts.CloneAddr. Co-authored-by: Jordan <eatsleepgame@gmail.com>
This commit is contained in:
parent
45c8a3aeeb
commit
b1a90f7286
@ -436,7 +436,7 @@ func Migrate(ctx *context.APIContext, form auth.MigrateRepoForm) {
|
||||
repo, err := models.CreateRepository(ctx.User, ctxUser, models.CreateRepoOptions{
|
||||
Name: opts.RepoName,
|
||||
Description: opts.Description,
|
||||
OriginalURL: opts.CloneAddr,
|
||||
OriginalURL: form.CloneAddr,
|
||||
IsPrivate: opts.Private,
|
||||
IsMirror: opts.Mirror,
|
||||
Status: models.RepositoryBeingMigrated,
|
||||
|
Loading…
Reference in New Issue
Block a user