Skip to content

Commit cb141db

Browse files
committed
Fix typo in BearerAuth docs
1 parent 8e76fdb commit cb141db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/tesla/middleware/bearer_auth.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ defmodule Tesla.Middleware.BearerAuth do
1616
# dynamic token
1717
def new(token) do
1818
Tesla.client [
19-
{Tesla.Middleware.BearerAuth, token: token)}
19+
{Tesla.Middleware.BearerAuth, token: token}
2020
]
2121
end
2222
end

0 commit comments

Comments
 (0)