Closed rsxdalv closed 7 years ago
Fixed in master, will deploy in v1.2
Cool!
On Wed, Mar 15, 2017, 04:13 Aaron Tidwell notifications@github.com wrote:
Fixed in master, will deploy in v1.2
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Tidwell/node-challonge/issues/2#issuecomment-286620289, or mute the thread https://github.com/notifications/unsubscribe-auth/AGcbo0dkqLbsr_xozJA-gxQH2kNea_7-ks5rl0lHgaJpZM4INiOM .
Upon definition, if it evaluates to false, it is set to be true. When checked for, if it evaluates to false, you get to skip this feature. Thus, the only way to get the raw property names is to modify the property manually on the return object from create client:
(createClientReturn).client.options.massageProperties = false;
Instead of checking for false, check for undefined as undefined !== false.