Skip to content

Commit

Permalink
Point - Code quality
Browse files Browse the repository at this point in the history
  • Loading branch information
meliguilhermefernandes committed Feb 22, 2024
1 parent f07fbf3 commit 9519031
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/apis/point/updatedeviceopmode/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ func main() {
}

client := point.NewClient(cfg)
om, err := client.UpdateDeviceOperationMode(context.Background(), "{{DEVICE_ID}}", req)
opMode, err := client.UpdateDeviceOperationMode(context.Background(), "{{DEVICE_ID}}", req)
if err != nil {
fmt.Println(err)
return
}

fmt.Println(om)
fmt.Println(opMode)
}

0 comments on commit 9519031

Please sign in to comment.