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 0e5126d commit 5bf51b1Copy full SHA for 5bf51b1
routers/api/v1/repo/repo.go
@@ -436,7 +436,7 @@ func Migrate(ctx *context.APIContext, form auth.MigrateRepoForm) {
436
repo, err := models.CreateRepository(ctx.User, ctxUser, models.CreateRepoOptions{
437
Name: opts.RepoName,
438
Description: opts.Description,
439
- OriginalURL: opts.CloneAddr,
+ OriginalURL: form.CloneAddr,
440
IsPrivate: opts.Private,
441
IsMirror: opts.Mirror,
442
Status: models.RepositoryBeingMigrated,
0 commit comments