Fix missing default store value

This commit is contained in:
世界
2025-01-30 22:20:36 +08:00
parent c34c631952
commit 7a76be8231
2 changed files with 3 additions and 2 deletions

View File

@@ -24,7 +24,8 @@ func (o CertificateOptions) MarshalJSON() ([]byte, error) {
}
func (o *CertificateOptions) UnmarshalJSON(data []byte) error {
if err := json.Unmarshal(data, (*_CertificateOptions)(o)); err != nil {
err := json.Unmarshal(data, (*_CertificateOptions)(o))
if err != nil {
return err
}
switch o.Store {