Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix nested array data on
Monitor.put
Make sure the `data` param is only reassigned into an array if the initial `data` param is not an array. > In the method `Monitor.put`, the assertion `typeof data == 'object'` returns > `true` whether `data` is an Array or not. This causes `data` to be reassigned > as a nested array when `Monitor.put` is called with an array as the > `data` parameter, resulting in an HTTP 500 Error from the API.
- Loading branch information