1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-03 09:07:19 +00:00

Move generate from module to service (#29465)

This commit is contained in:
Lunny Xiao
2024-02-28 21:40:36 +08:00
committed by GitHub
parent d0fe6ea4e1
commit b5188cd55c
8 changed files with 97 additions and 82 deletions

View File

@ -358,7 +358,7 @@ func Generate(ctx *context.APIContext) {
return
}
opts := repo_module.GenerateRepoOptions{
opts := repo_service.GenerateRepoOptions{
Name: form.Name,
DefaultBranch: form.DefaultBranch,
Description: form.Description,