Skip to content

Commit

Permalink
v1.3.4 Fix Response from on/off commands
Browse files Browse the repository at this point in the history
  • Loading branch information
smford committed Nov 8, 2021
1 parent 3874eb6 commit 5fd9d53
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
)

const applicationName string = "tplink-hs1x-cli"
const applicationVersion string = "v1.3.3"
const applicationVersion string = "v1.3.4"

type SimpleResponse struct {
System struct {
Expand Down Expand Up @@ -273,7 +273,6 @@ func main() {

// if standard on and off, show response
if strings.EqualFold(viper.GetString("do"), "on") || strings.EqualFold(viper.GetString("do"), "off") {
decryptedresponse = "some junk"
res := SimpleResponse{}
err = json.Unmarshal([]byte(decryptedresponse), &res)

Expand Down

0 comments on commit 5fd9d53

Please sign in to comment.