Skip to content

Commit

Permalink
Fix for create_message
Browse files Browse the repository at this point in the history
After updating to use v2 endpoints for Outlook API, need to change
/Folders to /MailFolders
  • Loading branch information
jasonjoh committed Apr 14, 2016
1 parent 5048e1c commit 9c8ebd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ruby_outlook.rb
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ def create_message(token, payload, folder_id = nil, user = nil)
request_url = "/api/v2.0/" << (user.nil? ? "Me" : ("users/" << user))

unless folder_id.nil?
request_url << "/Folders/" << folder_id
request_url << "/MailFolders/" << folder_id
end

request_url << "/Messages"
Expand Down

0 comments on commit 9c8ebd3

Please sign in to comment.