Skip to content

Commit 800dfbf

Browse files
committed
docs: fix getAuthStatus()
1 parent 808c547 commit 800dfbf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ $ npm i node-mac-contacts
88

99
This Native Node Module allows you to create, read, update, and delete contact from users' contacts databases on macOS.
1010

11-
All methods invoking the [CNContactStore](https://developer.apple.com/documentation/contacts/cncontactstore) will require authorization, which will be requested the first time the functions themselves are invoked. You can verify authorization status with `contacts.checkAuthorizationStatus()` as outlined below.
11+
All methods invoking the [CNContactStore](https://developer.apple.com/documentation/contacts/cncontactstore) will require authorization, which will be requested the first time the functions themselves are invoked. You can verify authorization status with `contacts.getAuthStatus()` as outlined below.
1212

1313
In your app, you should put the reason you're requesting to manipulate user's contacts database in your `Info.plist` like so:
1414

@@ -19,7 +19,7 @@ In your app, you should put the reason you're requesting to manipulate user's co
1919

2020
## API
2121

22-
### contacts.checkAuthorizationStatus()
22+
### contacts.getAuthStatus()
2323

2424
Returns `String` - Can be one of 'Not Determined', 'Denied', 'Authorized', or 'Restricted'.
2525

0 commit comments

Comments
 (0)