|
|
|
@@ -220,6 +220,7 @@ func handleMigrateError(ctx *context.APIContext, repoOwner *models.User, remoteA |
|
|
|
} |
|
|
|
|
|
|
|
func MigrateSubmit(ctx *context.APIContext, form auth.MigrateRepoForm) { |
|
|
|
log.Info("receive MigrateSubmit request") |
|
|
|
ctxUser, bizErr := checkContextUser(ctx, form.UID) |
|
|
|
if bizErr != nil { |
|
|
|
ctx.JSON(http.StatusOK, response.ResponseError(bizErr)) |
|
|
|
|