Skip to content

Commit

Permalink
Fixing auth
Browse files Browse the repository at this point in the history
  • Loading branch information
gridanjbf committed Apr 17, 2024
1 parent b6feb87 commit e40f9f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sharepoint/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ def computed_web_api_url(site)

def ethon_easy_json_requester
easy = ethon_easy_requester
easy.headers = easy.headers.merge({ 'accept'=> 'application/json;odata=verbose'})
easy.headers = ({ 'accept'=> 'application/json;odata=verbose'}.merge({'authentication' => bearer_auth}))
easy
end

Expand Down

0 comments on commit e40f9f4

Please sign in to comment.