nsite: log identifiers instead of printing.

This commit is contained in:
fiatjaf
2026-06-08 21:14:26 -03:00
parent fa41c22c12
commit ac988a792d
+2 -2
View File
@@ -198,9 +198,9 @@ var nsite = &cli.Command{
stdout(evt.String())
if identifier == "" {
stdout(nip19.EncodeNpub(pk))
log(nip19.EncodeNpub(pk) + "\n")
} else {
stdout(nip5a.PubKeyToBase36(pk) + identifier)
log(nip5a.PubKeyToBase36(pk) + identifier + "\n")
}
return publishFlow(ctx, c, kr, evt, relays)