small fixes

This commit is contained in:
Alireza Ahmadi
2024-06-13 20:16:29 +02:00
parent b144aecb6a
commit db3270feaa
3 changed files with 8 additions and 4 deletions
+3 -3
View File
@@ -127,9 +127,9 @@ func (s *SettingService) getBool(key string) (bool, error) {
return strconv.ParseBool(str)
}
func (s *SettingService) setBool(key string, value bool) error {
return s.setString(key, strconv.FormatBool(value))
}
// func (s *SettingService) setBool(key string, value bool) error {
// return s.setString(key, strconv.FormatBool(value))
// }
func (s *SettingService) getInt(key string) (int, error) {
str, err := s.getString(key)