nylas / nylas-nodejs

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

Nullify visibility if visibility is an empty string #507

Closed mrashed-dev closed 9 months ago

mrashed-dev commented 9 months ago

Description

Closes #470, fixes the issue "Bad Request: Visibility cannot have the value ''".

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.

codecov[bot] commented 9 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (8018c78) 91.70% compared to head (7e0432c) 91.71%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #507 +/- ## ======================================= Coverage 91.70% 91.71% ======================================= Files 62 62 Lines 2641 2643 +2 Branches 481 482 +1 ======================================= + Hits 2422 2424 +2 Misses 218 218 Partials 1 1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.