lib/doorkeeper/oauth/client_credentials/creator.rb in doorkeeper-5.0.0.rc2 vs lib/doorkeeper/oauth/client_credentials/creator.rb in doorkeeper-5.0.0

- old
+ new

@@ -3,10 +3,11 @@ class ClientCredentialsRequest < BaseRequest class Creator def call(client, scopes, attributes = {}) AccessToken.find_or_create_for( client, nil, scopes, attributes[:expires_in], - attributes[:use_refresh_token]) + attributes[:use_refresh_token] + ) end end end end end