radarlabs / radar-sdk-js

Web JavaScript SDK for Radar, the leading geofencing and location tracking platform
https://radar.com
Apache License 2.0
42 stars 11 forks source link

Fix for Http.request() method required data param #89

Closed JoRoRadar closed 1 year ago

kochis commented 1 year ago

In addition to this fix, lets also set a default argument for data in the Http class: https://github.com/radarlabs/radar-sdk-js/blob/030d05ef6eb0fcc9109ad397dc6a32addacfe409/src/http.js#L9

static request(method, path, data={}) {