1
0
mirror of https://github.com/mrusme/neonmodem.git synced 2024-06-16 06:25:23 +00:00

Removed debug output

This commit is contained in:
マリウス 2023-01-05 00:30:24 -05:00
parent 9766f268c6
commit 2858e68615
No known key found for this signature in database
GPG Key ID: 272ED814BF63261F

View File

@ -111,7 +111,6 @@ func (sys *System) Connect(sysURL string) error {
if err != nil {
return err
}
fmt.Println(string(decodedUserAPIKey))
decryptedUserAPIKey, err := privateKey.Decrypt(
rand.Reader,
@ -121,14 +120,12 @@ func (sys *System) Connect(sysURL string) error {
if err != nil {
return err
}
fmt.Println(string(decryptedUserAPIKey))
var userAPIKey UserAPIKey
err = json.Unmarshal(decryptedUserAPIKey, &userAPIKey)
if err != nil {
return err
}
fmt.Printf("%v\n", userAPIKey)
// Credentials
credentials := make(map[string]string)