mirror of
https://github.com/teacat/chaturbate-dvr.git
synced 2025-10-29 16:59:59 +00:00
Formatted json in config
This commit is contained in:
parent
3bf6963a01
commit
6c11761b3e
@ -45,7 +45,7 @@ func (m *Manager) SaveConfig() error {
|
||||
return true
|
||||
})
|
||||
|
||||
b, err := json.Marshal(config)
|
||||
b, err := json.MarshalIndent(config, "", " ")
|
||||
if err != nil {
|
||||
return fmt.Errorf("marshal: %w", err)
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user