Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix issue with new client overriding set api key (#1305)
if you call `sgMail.setClient()` _before_ you call `sgMail.setApiKey()` then everything is great. If you call them in the order that this test does you'll forever get `Unauthorized` 401 section with data.headers not including `Bearer Authorization <<YOUR_API_KEY>>`
- Loading branch information