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