From e64179a8b522b3c79d56fbadc61d5898dc974bea Mon Sep 17 00:00:00 2001 From: Angelo Capossele <angelocapossele@gmail.com> Date: Fri, 12 Jun 2020 17:58:34 +0100 Subject: [PATCH] Fix enabled/disabled plugins spelling (#470) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 💄 Fix enabled/disabled plugins spelling * 💄 Fix publicKey camelCase --- plugins/webapi/info/plugin.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/webapi/info/plugin.go b/plugins/webapi/info/plugin.go index a8980a03..6dc44a26 100644 --- a/plugins/webapi/info/plugin.go +++ b/plugins/webapi/info/plugin.go @@ -90,11 +90,11 @@ type Response struct { // identity ID of the node encoded in base58 and truncated to its first 8 bytes IdentityID string `json:"identityID,omitempty"` // public key of the node encoded in base58 - PublicKey string `json:"publickey,omitempty"` + PublicKey string `json:"publicKey,omitempty"` // list of enabled plugins - EnabledPlugins []string `json:"enabledplugins,omitempty"` + EnabledPlugins []string `json:"enabledPlugins,omitempty"` // list if disabled plugins - DisabledPlugins []string `json:"disabledlugins,omitempty"` + DisabledPlugins []string `json:"disabledPlugins,omitempty"` // error of the response Error string `json:"error,omitempty"` } -- GitLab