You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello
My code received object from API and do not know its format.
Even I got already camecased object, it capitalises "C", but should not. camelcaseKeys({"i2cTapSensor": "value"}); { i2CTapSensor: 'value' }
As a workaround, added the key to exclusion: {exclude: ["i2cTapSensor"]}
The text was updated successfully, but these errors were encountered:
Hello
My code received object from API and do not know its format.
Even I got already camecased object, it capitalises "C", but should not.
camelcaseKeys({"i2cTapSensor": "value"});
{ i2CTapSensor: 'value' }
As a workaround, added the key to exclusion:
{exclude: ["i2cTapSensor"]}
The text was updated successfully, but these errors were encountered: