"backend/ent/git@web.lueluesay.top:chenxi/sub2api.git" did not exist on "c520de11de6172e018abbdfdd096c3cfc653e771"
Commit b37afd68 authored by IanShaw027's avatar IanShaw027
Browse files

fix(lint): format setting service

parent 62962c05
...@@ -1109,7 +1109,6 @@ func normalizeTablePreferences(defaultPageSize int, options []int) (int, []int) ...@@ -1109,7 +1109,6 @@ func normalizeTablePreferences(defaultPageSize int, options []int) (int, []int)
return defaultPageSize, normalizedOptions return defaultPageSize, normalizedOptions
} }
// getStringOrDefault 获取字符串值或默认值 // getStringOrDefault 获取字符串值或默认值
func (s *SettingService) getStringOrDefault(settings map[string]string, key, defaultValue string) string { func (s *SettingService) getStringOrDefault(settings map[string]string, key, defaultValue string) string {
if value, ok := settings[key]; ok && value != "" { if value, ok := settings[key]; ok && value != "" {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment