-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'data.toISOString is not a function' #93
Comments
Also getting this error. This is not a problem with @gkatsanos calling Example code that generates the above error:
|
Agreed, this is a logic bug of the sdk. |
As a follow-up, I tried passing a JS Date instead of an ISO string and the problem went away. Unfortunately this behaviour doesn't appear to be documented anywhere. Would be great to get it fixed so ISO strings are accepted as well, like they used to be in older versions of this library. |
Thank you for the additional details - the TypeScript type of that field is |
Thank you @cpcurtis1218, I'm sure future devs who don't use TypeScript (like myself) will be appreciative. |
'TypeError: data.toISOString is not a function
stuck in this for hours.. any help would be appreciated!
The text was updated successfully, but these errors were encountered: