diff --git a/backend/app/dto/setting.go b/backend/app/dto/setting.go index 5da1a3dc0..9895b0eec 100644 --- a/backend/app/dto/setting.go +++ b/backend/app/dto/setting.go @@ -60,7 +60,7 @@ type SettingUpdate struct { } type SSLUpdate struct { - SSLType string `json:"sslType" validate:"required,oneof=self select import-paste import-local"` + SSLType string `json:"sslType" validate:"required,oneof=self select import import-paste import-local"` Domain string `json:"domain"` SSL string `json:"ssl" validate:"required,oneof=enable disable"` Cert string `json:"cert"`