nip86: omit empty result or error.

This commit is contained in:
fiatjaf
2024-07-12 13:44:43 -03:00
parent d4c31e3fc9
commit 684ff538ab

View File

@ -6,6 +6,6 @@ type Request struct {
} }
type Response struct { type Response struct {
Result any `json:"result"` Result any `json:"result,omitempty"`
Error string `json:"error,omitempty"` Error string `json:"error,omitempty"`
} }