Skip to content

Commit

Permalink
Adding user-agent header
Browse files Browse the repository at this point in the history
  • Loading branch information
JacquiManzi committed Jun 20, 2024
1 parent 4c2b825 commit 6e32b8e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/mux/tesla.ex
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ defmodule Mux.Tesla do
use Tesla

plug(Tesla.Middleware.JSON)
plug(Tesla.Middleware.Headers, [{"user-agent", "Mux-Elixir"}])

@defaults [
base_url: "https://api.mux.com"
Expand Down

0 comments on commit 6e32b8e

Please sign in to comment.