lib/fatsecret_lite.rb in fatsecret_lite-0.1.2 vs lib/fatsecret_lite.rb in fatsecret_lite-0.1.3

- old
+ new

@@ -28,10 +28,10 @@ raise "Client ID and Client Secret must be configured" unless configuration.client_id && configuration.client_secret client = OAuth2::Client.new( configuration.client_id, configuration.client_secret, - site: 'https://oauth.fatsecret.com', + site: 'https://platform.fatsecret.com/rest/server.api', token_url: 'https://oauth.fatsecret.com/connect/token' ) token = client.client_credentials.get_token token.token