mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2024-10-30 03:36:16 +00:00
Indent marshalled JSON
It is a quickfix requested by Dan
This commit is contained in:
parent
11af79d300
commit
fcc6ec1549
@ -101,7 +101,7 @@ func dumpRegistrationCredentials() error {
|
||||
tmp = append(tmp, copiedUser)
|
||||
}
|
||||
|
||||
blob, err := json.Marshal(tmp)
|
||||
blob, err := json.MarshalIndent(tmp, "", "\t")
|
||||
if err != nil {
|
||||
log.Println(err)
|
||||
return err
|
||||
@ -124,7 +124,7 @@ func dumpTokens() {
|
||||
return true
|
||||
})
|
||||
|
||||
blob, err := json.Marshal(tmp)
|
||||
blob, err := json.MarshalIndent(tmp, "", "\t")
|
||||
if err != nil {
|
||||
log.Println(err)
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user