diff --git a/examples/apis/point/updatedeviceopmode/main.go b/examples/apis/point/updatedeviceopmode/main.go index 4b0b1c93..cb660a57 100644 --- a/examples/apis/point/updatedeviceopmode/main.go +++ b/examples/apis/point/updatedeviceopmode/main.go @@ -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) }