lperichon-contacts 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -74,7 +74,7 @@ module Contacts
74
74
 
75
75
  url = "https://consent.live.com/Delegation.aspx"
76
76
  query = {
77
- 'ps' => 'Contacts.Invite',
77
+ 'ps' => 'Contacts.View',
78
78
  'ru' => target,
79
79
  'pl' => privacy_policy_url,
80
80
  'app' => app_verifier,
@@ -72,6 +72,8 @@ module Contacts
72
72
  next if emails.empty?
73
73
  Contact.new(name, emails)
74
74
  end.compact
75
+ else
76
+ []
75
77
  end
76
78
  end
77
79
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 0
8
- - 1
9
- version: 1.0.1
8
+ - 2
9
+ version: 1.0.2
10
10
  platform: ruby
11
11
  authors: []
12
12