app/controllers/skydrive/application_controller.rb in lti_skydrive-1.2.0 vs app/controllers/skydrive/application_controller.rb in lti_skydrive-1.2.1
- old
+ new
@@ -36,13 +36,9 @@
end
@current_api_key
end
def skydrive_client
- @skydrive_client ||=
- Client.new(SHAREPOINT.merge(
- personal_url: current_user.token.personal_url,
- token: current_user.token.access_token
- ))
+ @skydrive_client ||= current_user.skydrive_client
end
end
end