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 7bc8c6b commit ba9a2d2Copy full SHA for ba9a2d2
routers/api/v1/repo/repo.go
@@ -446,7 +446,7 @@ func Migrate(ctx *context.APIContext, form auth.MigrateRepoForm) {
446
repo, err := models.CreateRepository(ctx.User, ctxUser, models.CreateRepoOptions{
447
Name: opts.RepoName,
448
Description: opts.Description,
449
- OriginalURL: opts.CloneAddr,
+ OriginalURL: form.CloneAddr,
450
IsPrivate: opts.Private,
451
IsMirror: opts.Mirror,
452
Status: models.RepositoryBeingMigrated,
0 commit comments