diff --git a/lib/asana/authentication/oauth2/bearer_token_authentication.rb b/lib/asana/authentication/oauth2/bearer_token_authentication.rb index 06f6c36..8c89ac5 100644 --- a/lib/asana/authentication/oauth2/bearer_token_authentication.rb +++ b/lib/asana/authentication/oauth2/bearer_token_authentication.rb @@ -24,7 +24,7 @@ def initialize(bearer_token) # # Returns nothing. def configure(connection) - connection.authorization :Bearer, @token + connection.request :authorization, :Bearer, @token connection.request :oauth2, token_type: 'bearer' end end