Skip to content

Commit

Permalink
Make the client work for API v1
Browse files Browse the repository at this point in the history
  • Loading branch information
dentarg committed Mar 11, 2015
1 parent 8507480 commit b61f038
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/auth0/mixins/initializer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def initialize(config)
@client_secret = options[:client_secret]
@token = obtain_access_token
end
self.class.headers "Authorization" => "Bearer #{options[:access_token]}"
self.class.headers "Authorization" => "Bearer #{@token}"
end

# including initializer in top of klass
Expand Down

0 comments on commit b61f038

Please sign in to comment.