tuya / tuya-connector-nodejs

nodejs sdk
38 stars 17 forks source link

/iot-03/ Causing login errors #12

Open wpitallo opened 1 year ago

wpitallo commented 1 year ago

Hi,

I think there is a bug. I cannot login from central europe. using this url:

return __generator(this, function (_a) { switch (_a.label) { case 0: return [4 /*yield*/, this.client.request({ path: "/v1.0/iot-03/categories/" + param.category + "/functions", method: 'GET', })]; case 1: res = _a.sent(); return [2 /*return*/, res.data]; } });

But removing the /iot-03/ works....