diff --git a/lib/tesla.ex b/lib/tesla.ex index a5233d9b..225f4359 100644 --- a/lib/tesla.ex +++ b/lib/tesla.ex @@ -12,7 +12,7 @@ defmodule Tesla do defmodule ExampleApi do def client do Tesla.client([ - Tesla.Middleware.BaseUrl, "http://api.example.com", + {Tesla.Middleware.BaseUrl, "http://api.example.com"}, Tesla.Middleware.JSON ]) end