Browse Source

add log

tags/v1.22.11.1^2
chenyifan01 3 years ago
parent
commit
7e07546f56
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      routers/api/v1/repo/migrate.go

+ 1
- 0
routers/api/v1/repo/migrate.go View File

@@ -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))


Loading…
Cancel
Save