mirror of
https://github.com/fiatjaf/nak.git
synced 2024-12-21 17:45:52 -05:00
bunker: fix MarshalIndent() is not allowed to have a prefix on json-iterator.
This commit is contained in:
parent
7675929056
commit
2d992f235e
|
@ -188,9 +188,9 @@ var bunker = &cli.Command{
|
|||
continue
|
||||
}
|
||||
|
||||
jreq, _ := json.MarshalIndent(req, " ", " ")
|
||||
jreq, _ := json.MarshalIndent(req, "", " ")
|
||||
log("- got request from '%s': %s\n", color.New(color.Bold, color.FgBlue).Sprint(ie.Event.PubKey), string(jreq))
|
||||
jresp, _ := json.MarshalIndent(resp, " ", " ")
|
||||
jresp, _ := json.MarshalIndent(resp, "", " ")
|
||||
log("~ responding with %s\n", string(jresp))
|
||||
|
||||
handlerWg.Add(len(relayURLs))
|
||||
|
|
Loading…
Reference in New Issue
Block a user