TuyaAPI / openapi

🚪 a wrapper for Tuya's OpenAPI
https://github.com/TuyaAPI/openapi/blob/master/docs/classes/api.openapi.md
MIT License
20 stars 13 forks source link

Bug: not processing response correctly #7

Closed codetheweb closed 3 years ago

codetheweb commented 3 years ago

@milo526 sorry, I should have looked at #6 more closely.

Why did you change this line? https://github.com/TuyaAPI/openapi/pull/6/files#diff-769911c416ccf8514d8fd941ae0abe8fb5c606ade0c218e22151a5f5f9f3d700L83

Seems to be causing issues now since the response body isn't being hoisted: https://github.com/codetheweb/tuyapi/issues/411.

Confirmed that a test script worked with v1.2.1 but not v1.2.2.

milo526 commented 3 years ago

Sorry for that, that change was completely unintentional.

codetheweb commented 3 years ago

Ok, thanks for the quick response.

codetheweb commented 3 years ago

Resolved in v1.2.3.