Browse Source

提交代码

tags/v1.22.1.3^2
ychao_1983 3 years ago
parent
commit
9e750cada5
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      modules/repository/create.go

+ 1
- 0
modules/repository/create.go View File

@@ -43,6 +43,7 @@ func CreateRepository(doer, u *models.User, opts models.CreateRepoOptions) (_ *m
Status: opts.Status,
IsEmpty: !opts.AutoInit,
RepoType: RepoType,
Topics: opts.Topics,
}

err = models.WithTx(func(ctx models.DBContext) error {


Loading…
Cancel
Save