diff options
author | 6543 <6543@obermui.de> | 2021-01-18 21:00:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-18 21:00:50 +0100 |
commit | 2686e6bbbe0e2cbb58292732b740a6944ce09c8a (patch) | |
tree | bd7aa1b2cad2184676b7d31ab018b41c6a971559 /modules/structs | |
parent | 127907c5e66d671b139a8d2bd8912911c7e58347 (diff) | |
download | gitea-2686e6bbbe0e2cbb58292732b740a6944ce09c8a.tar.gz gitea-2686e6bbbe0e2cbb58292732b740a6944ce09c8a.zip |
Check if label template exist first (#14384)
* add check
* refactor
* rollback repo on error after session closed
Diffstat (limited to 'modules/structs')
-rw-r--r-- | modules/structs/repo.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/structs/repo.go b/modules/structs/repo.go index 309273d2fa..a4eff8b162 100644 --- a/modules/structs/repo.go +++ b/modules/structs/repo.go @@ -106,7 +106,7 @@ type CreateRepoOption struct { Description string `json:"description" binding:"MaxSize(255)"` // Whether the repository is private Private bool `json:"private"` - // Issue Label set to use + // Label-Set to use IssueLabels string `json:"issue_labels"` // Whether the repository should be auto-intialized? AutoInit bool `json:"auto_init"` |