Skip to content

Commit

Permalink
🪲 Hopefully fix apostrophes woes.
Browse files Browse the repository at this point in the history
Fix from Plaristote#39
  • Loading branch information
klondikemarlen committed Jun 24, 2021
1 parent 8a6af27 commit 073ee38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sharepoint-properties.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def get_property property_name

def get_deferred_property property_name
deferred_data = @data[property_name]['__deferred']
uri = deferred_data['uri'].gsub /^http.*\/_api\/web\//i, ''
uri = deferred_data['uri'].gsub(/^http.*\/_api\/web\//i, '').gsub(/%27/, '%27%27')
@site.query :get, uri
end

Expand Down

0 comments on commit 073ee38

Please sign in to comment.