small fixes and typos

This commit is contained in:
Alireza Ahmadi
2025-02-09 00:53:49 +01:00
parent ea6ceac2f2
commit 1c4a927e0d
7 changed files with 10 additions and 5 deletions
+1 -1
View File
@@ -358,7 +358,7 @@ func (s *SettingService) Save(tx *gorm.DB, data json.RawMessage) error {
return err
}
for key, obj := range settings {
// Secure file existance check
// Secure file existence check
if obj != "" && (key == "webCertFile" ||
key == "webKeyFile" ||
key == "subCertFile" ||