refactor(models): Group now only has a name
Some checks failed
ci/woodpecker/push/build Pipeline failed
ci/woodpecker/tag/release Pipeline was successful

This commit is contained in:
Nicolai Ort 2024-12-12 18:48:39 +01:00
parent c09c00ec68
commit ef25adf5ed
Signed by: niggl
GPG Key ID: 13AFA55AF62F269F

View File

@ -14,9 +14,7 @@ type Runner struct {
} }
type Group struct { type Group struct {
ID int `json:"id" validate:"required"` Name string `json:"name" validate:"required"`
Name string `json:"name" validate:"required"`
ParentGroup *Group `json:"parent_group" validate:"optional"`
} }
type ContractTemplateOptions struct { type ContractTemplateOptions struct {