tuya-cloud-sdk-go icon indicating copy to clipboard operation
tuya-cloud-sdk-go copied to clipboard

Remote ID should not be type int

Open rafaelvdberg opened this issue 5 years ago • 3 comments

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 avatar Dec 10 '20 18:12 rafaelvdberg

This results in parse error on line 21 too.

rafaelvdberg avatar Dec 10 '20 18:12 rafaelvdberg

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

rafaelvdberg avatar Dec 10 '20 18:12 rafaelvdberg

Thanks for feedback.I will fix it

LvBay avatar Dec 15 '20 02:12 LvBay