nylas / nylas-nodejs

A NodeJS wrapper for the Nylas REST API for email, contacts, and calendar.
MIT License
167 stars 117 forks source link

Undefined msg id code #499

Closed techwithsrikanth closed 9 months ago

techwithsrikanth commented 10 months ago

updated the payload saving method to handle undefined messageid request

License

I confirm that this contribution is made under the terms of the MIT license and that I have the authority necessary to make this contribution on behalf of its copyright owner.

mrashed-dev commented 9 months ago

Sorry, but this code change is not required. The ? beside the replyToMessageId denotes that it can be undefined so making it a union type with undefined is redundant.