From 556b7499dde5c08688975e4a9ae2b0c3896dc60c Mon Sep 17 00:00:00 2001 From: afeiszli Date: Tue, 24 May 2022 16:31:18 -0400 Subject: [PATCH] remove slash --- netclient/functions/common.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netclient/functions/common.go b/netclient/functions/common.go index a04cbe20..2386eacc 100644 --- a/netclient/functions/common.go +++ b/netclient/functions/common.go @@ -346,7 +346,7 @@ func API(data any, method, url, authorization string) (*http.Response, error) { // Authenticate authenticates with api to permit subsequent interactions with the api func Authenticate(cfg *config.ClientConfig) (string, error) { - pass, err := os.ReadFile(ncutils.GetNetclientPathSpecific() + "/secret-" + cfg.Network) + pass, err := os.ReadFile(ncutils.GetNetclientPathSpecific() + "secret-" + cfg.Network) if err != nil { return "", fmt.Errorf("could not read secrets file %w", err) }