mirror of
https://github.com/mrusme/neonmodem.git
synced 2024-09-29 04:45:55 -04:00
Removed debug output
This commit is contained in:
parent
9766f268c6
commit
2858e68615
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user