You've already forked woodpecker
mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-11-06 08:29:10 +02:00
Rename struct field and add new types into server/model's (#523)
Resolve some todos in server/model: * Move persistent queue into its own package * Create Types: StatusValue, SCMKind, RepoVisibly * Rename struct Repo fields: SCMKind, IsSCMPrivate
This commit is contained in:
@@ -141,7 +141,7 @@ func convertRepository(repo *Repository) (*model.Repo, error) {
|
||||
Name: repo.Name,
|
||||
FullName: projectFullName(repo.Owner.GlobalKey, repo.Name),
|
||||
Link: repo.WebURL,
|
||||
Kind: model.RepoGit,
|
||||
SCMKind: model.RepoGit,
|
||||
}, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user