mirror of
https://github.com/lordmathis/lemma.git
synced 2025-11-05 15:44:21 +00:00
Add commit name and commit email to workspace model
This commit is contained in:
@@ -22,6 +22,8 @@ type Workspace struct {
|
||||
GitToken string `json:"gitToken" validate:"required_if=GitEnabled true"`
|
||||
GitAutoCommit bool `json:"gitAutoCommit"`
|
||||
GitCommitMsgTemplate string `json:"gitCommitMsgTemplate"`
|
||||
GitCommitName string `json:"gitCommitName"`
|
||||
GitCommitEmail string `json:"gitCommitEmail" validate:"required_if=GitEnabled true,email"`
|
||||
}
|
||||
|
||||
// Validate validates the workspace struct
|
||||
|
||||
Reference in New Issue
Block a user