mirror of
https://github.com/fiatjaf/nak.git
synced 2025-08-13 22:40:48 -04:00
bunker: fix MarshalIndent() is not allowed to have a prefix on json-iterator.
This commit is contained in:
@@ -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))
|
||||
|
Reference in New Issue
Block a user