Skip to content

Commit

Permalink
SendGrid requires an Accept header (#529)
Browse files Browse the repository at this point in the history
  • Loading branch information
rzane authored May 4, 2020
1 parent 84eb4e3 commit 89d4246
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/bamboo/adapters/send_grid_adapter.ex
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ defmodule Bamboo.SendGridAdapter do

defp headers(api_key) do
[
{"Accept", "application/json"},
{"Content-Type", "application/json"},
{"Authorization", "Bearer #{api_key}"}
]
Expand Down

0 comments on commit 89d4246

Please sign in to comment.