nylas / nylas-ruby

Ruby bindings for the Nylas Platform APIs
https://nylas.com/docs
MIT License
101 stars 130 forks source link

Add accept header by default #442

Closed mrashed-dev closed 11 months ago

mrashed-dev commented 1 year ago

Description

We set a content-header type by default, but not an accept header. We should add it in to prevent some error messages not being formatted as JSON. Closes #405.

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 1 year ago

Codecov Report

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

Comparison is base (ab663a1) 97.86% compared to head (9eb4bf4) 97.86%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #442 +/- ## ======================================= Coverage 97.86% 97.86% ======================================= Files 129 129 Lines 4783 4783 ======================================= Hits 4681 4681 Misses 102 102 ```

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