Closed gustavochavarria closed 5 years ago
Prevent Crash when use CreateClient because body.response.secret has null.
Force set: can_keep_secret to 1.
By default, can_keep_secret must setted to 1, but in wear, occasions are set to 0 and secret has null
ERROR:
if (!body.response || !body.response.client || !body.response.client.client_id || !body.response.secret) throw new Error(body.message); Line 145
Thanks
Prevent Crash when use CreateClient because body.response.secret has null.
Force set: can_keep_secret to 1.
By default, can_keep_secret must setted to 1, but in wear, occasions are set to 0 and secret has null
ERROR:
if (!body.response || !body.response.client || !body.response.client.client_id || !body.response.secret) throw new Error(body.message); Line 145