Skip to content
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

Fix error when sending message or updating draft #179

Conversation

mrashed-dev
Copy link
Collaborator

@mrashed-dev mrashed-dev commented Dec 18, 2023

Description

There were a couple of errors with sending messages and updating drafts. First was attachments was attempting to be serialized when it should have been marked as Transient. Secondly, we were passing the wrong type to deserialize the response.

https://nylas.atlassian.net/browse/TW-2450

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.

Copy link
Contributor

@atejada atejada left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just test it! 🥳 Let's 🚀 Thanks @mrashed-dev Great job as always 🤩

@mrashed-dev mrashed-dev merged commit e3bc843 into v2.0.0-beta Dec 18, 2023
1 of 2 checks passed
@mrashed-dev mrashed-dev deleted the TW-2450-error-when-trying-to-send-email-with-without-attachment branch December 18, 2023 21:06
mrashed-dev added a commit that referenced this pull request Dec 18, 2023
# Changelog

### Added
* Added support for event send RSVP (#175)

### Changed
* Fixed int type being serialized to double sometimes (#177)
* Fixed `Auth.exchangeCodeForToken` always returning 401 (#178)
* Fixed error when sending message or updating draft (#179)

# License
<!-- Your PR comment must contain the following line for us to merge the
PR. -->
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants