tuya / tuya-cloud-sdk-go

Tuya Cloud API SDK for go
MIT License
15 stars 13 forks source link

Remote ID should not be type int #3

Open rafaelvdberg opened 3 years ago

rafaelvdberg commented 3 years ago

Remote ID should be type string:

https://github.com/tuya/tuya-cloud-sdk-go/blob/6316e457519552a38b75477bfc360216edd005d5/api/infrared/post_command.go#L12

https://github.com/tuya/tuya-cloud-sdk-go/blob/6316e457519552a38b75477bfc360216edd005d5/api/infrared/post_command.go#L30

rafaelvdberg commented 3 years ago

This results in parse error on line 21 too.

rafaelvdberg commented 3 years ago

Also in these locations:

/api/infrared/post_command_raw.go:12 ./api/infrared/post_command_raw.go:30 ./api/infrared/post_command_raw_test.go:13 /api/infrared/post_command_raw_test.go:24 /api/infrared/post_command_test.go:13 /api/infrared/post_command_test.go:24

LvBay commented 3 years ago

Thanks for feedback.I will fix it